#CFC396#CFC396

#CFC396 is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.6% C 0.061 H 94.9°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#CFC396
RGBrgb(207, 195, 150)
HSLhsl(47, 37%, 70%)
HSVhsv(47, 28%, 81%)
CMYKcmyk(0%, 5.8%, 27.5%, 18.8%)
CIE-LABlab(78.75, -2.77, 24.19)
CIE-LCHlch(78.75, 24.34, 96.53°)
OKLaboklab(81.59% -0.0053 0.0611)
OKLCHoklch(81.59% 0.061 94.9)
XYZxyz(50.7526, 54.4988, 36.6940)
Luminance0.5450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC396 #96A2CF
analogous
#CFA696 #CFC396 #BFCF96
triadic
#CFC396 #96CFC3 #C396CF
tetradic
#CFC396 #96CFA6 #96A2CF #CF96BF
square
#CFC396 #96CFA6 #96A2CF #CF96BF
split-complementary
#CFC396 #96BFCF #A696CF
monochromatic
#A18F4A #BCAB6C #CFC396 #E2DBC0 #F5F3EA

Accessibility & contrast

On white

1.76
#CFC396 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#CFC396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC396
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC396#FFFFFF#000000##000000
##CFC3961.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCC193
Deuteranopia (green-blind)
#D0C597
Tritanopia (blue-blind)
#D8BCB7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc396;
/* rgb */ color: rgb(207, 195, 150);
/* oklch */ color: oklch(81.6% 0.061 94.9);
Tailwind
colors: {
  custom: {
    50: '#ded5b5',
    500: '#cfc396',
    950: '#000000',
  },
}
SCSS
$custom: #cfc396;
$custom-light: #ded5b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc396",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 150
  },
  "hsl": {
    "h": 47.368,
    "s": 37.255,
    "l": 70
  },
  "oklch": {
    "l": 0.81588,
    "c": 0.06136,
    "h": 94.9
  },
  "luminance": 0.54498
}

Semantic roles & 50–950 ramp

primary
#CFC396
secondary
#6572A5
accent
#4FB035
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CFC396

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

Preview Lab → · Contrast checker → · Palette generator →

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