#CFC796
Closest named color: Ash Gray (#BFC8AD). oklch(82.4% 0.066 99.9), rgb(207, 199, 150).
Aa
Black text reads best on this color (12.26:1).
About this color
#CFC796 is a light, muted yellow. In OKLCH its lightness is 82%, its chroma 0.066 and its hue 100°. Its hue sits on the warm side of the wheel. The nearest named color is Ash Gray (#BFC8AD), ΔE 0.034 away. Black text reads best on it, at 12.26:1.
| Hue family | Yellows |
| Lightness | light (82%) |
| Chroma | muted (0.066) |
| Temperature | warm |
| Nearest name | Ash Gray (#BFC8AD) |
| Black text | 12.26:1 |
| White text | 1.71:1 |
Values
| HEX | #CFC796 |
| RGB | rgb(207, 199, 150) |
| HSL | hsl(52, 37%, 70%) |
| OKLCH | oklch(82.4% 0.066 99.9) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #CFC796 | 1.71:1 | Fails | Lc -34.6 | Non-text elements, placeholder text |
| Black text on #CFC796 | 12.26:1 | AAA | Lc 73.1 | Content text, not long reading |
| #CFC796 text on white | 1.71:1 | Fails | Lc 30.8 | Non-text elements, placeholder text |
| #CFC796 text on black | 12.26:1 | AAA | Lc -72.0 | Content text, not long reading |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 300.
-
Step 50
50
#F7F6EF
oklch(97.2% 0.009 100)
-
Step 100
100
#ECEADC
oklch(93.5% 0.019 100.1)
-
Step 200
200
#DEDABF
oklch(88.4% 0.036 100.2)
-
Step 300
300 (this color)
#CFC796
oklch(82.4% 0.066 99.9)
-
Step 400
400
#B0A250
oklch(70.7% 0.105 99.8)
-
Step 500
500
#9C8A00
oklch(63% 0.131 100.1)
-
Step 600
600
#847400
oklch(55.7% 0.116 99.7)
-
Step 700
700
#6F6100
oklch(49.1% 0.102 99.4)
-
Step 800
800
#5B4F00
oklch(42.7% 0.088 99.2)
-
Step 900
900
#4C4200
oklch(37.8% 0.078 99.5)
-
Step 950
950
#2D2701
oklch(27.1% 0.055 100.2)
#CFC796 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #D0C493 | 0.007 |
| Deuteranopia (no green cones) | #D3C798 | 0.007 |
| Tritanopia (no blue cones) | #D8C0BA | 0.060 |
| Achromatopsia (no color) | #C6C6C6 | 0.066 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CFC796
#CFC796
oklch(82.4% 0.066 99.9)
- #BCC1F0
#BCC1F0
oklch(82.3% 0.066 280.1)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #CFC796, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Ash Gray #BFC8AD ΔE 0.034
- Burlywood #DEB887 ΔE 0.040
- Pale Oak #DBCFB0 ΔE 0.040
- Very Light Brown #D3B683 ΔE 0.043
- Sand #E2CA76 ΔE 0.046
- Pale Olive #B9CC81 ΔE 0.047
- Tan #D2B48C ΔE 0.047
- Greenish Tan #BCCB7A ΔE 0.049
Use #CFC796 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.