#CFC896#CFC896

#CFC896 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.6% C 0.067 H 101.0°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#CFC896
RGBrgb(207, 200, 150)
HSLhsl(53, 37%, 70%)
HSVhsv(53, 28%, 81%)
CMYKcmyk(0%, 3.4%, 27.5%, 18.8%)
CIE-LABlab(80.05, -5.37, 25.95)
CIE-LCHlch(80.05, 26.50, 101.69°)
OKLaboklab(82.62% -0.0127 0.0654)
OKLCHoklch(82.62% 0.067 101)
XYZxyz(51.8917, 56.7770, 37.0737)
Luminance0.5678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC896 #969DCF
analogous
#CFAC96 #CFC896 #B9CF96
triadic
#CFC896 #96CFC8 #C896CF
tetradic
#CFC896 #96CFAC #969DCF #CF96B9
square
#CFC896 #96CFAC #969DCF #CF96B9
split-complementary
#CFC896 #96B9CF #AC96CF
monochromatic
#A1964A #BCB26C #CFC896 #E2DEC0 #F5F4EA

Accessibility & contrast

On white

1.70
#CFC896 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#CFC896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC896
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC896#FFFFFF#000000##000000
##CFC8961.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C593
Deuteranopia (green-blind)
#D4C898
Tritanopia (blue-blind)
#D8C1BB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfc896;
/* rgb */ color: rgb(207, 200, 150);
/* oklch */ color: oklch(82.6% 0.067 101.0);
Tailwind
colors: {
  custom: {
    50: '#ded8b5',
    500: '#cfc896',
    950: '#000000',
  },
}
SCSS
$custom: #cfc896;
$custom-light: #ded8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc896",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 150
  },
  "hsl": {
    "h": 52.632,
    "s": 37.255,
    "l": 70
  },
  "oklch": {
    "l": 0.82617,
    "c": 0.06662,
    "h": 101
  },
  "luminance": 0.56776
}

Semantic roles & 50–950 ramp

primary
#CFC896
secondary
#656DA5
accent
#44B035
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CFC896

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CFC896 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva