#CFC96C#CFC96C

#CFC96C is a very light, moderate yellow. Relative luminance 0.561; OKLCH L 82.1% C 0.116 H 105.4°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#CFC96C
RGBrgb(207, 201, 108)
HSLhsl(56, 51%, 62%)
HSVhsv(56, 48%, 81%)
CMYKcmyk(0%, 2.9%, 47.8%, 18.8%)
CIE-LABlab(79.68, -10.62, 46.87)
CIE-LCHlch(79.68, 48.06, 102.77°)
OKLaboklab(82.12% -0.0307 0.1116)
OKLCHoklch(82.12% 0.116 105.4)
XYZxyz(49.3267, 56.1228, 22.4188)
Luminance0.5612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC96C #6C72CF
analogous
#CF986C #CFC96C #A4CF6C
triadic
#CFC96C #6CCFC9 #C96CCF
tetradic
#CFC96C #6CCF98 #6C72CF #CF6CA4
square
#CFC96C #6CCF98 #6C72CF #CF6CA4
split-complementary
#CFC96C #6CA4CF #986CCF
monochromatic
#918B2F #BFB83E #CFC96C #DEDA9A #EDEBC8

Accessibility & contrast

On white

1.72
#CFC96C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#CFC96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC96C
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC96C#FFFFFF#000000##000000
##CFC96C1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C364
Deuteranopia (green-blind)
#DAC870
Tritanopia (blue-blind)
#DBBEB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc96c;
/* rgb */ color: rgb(207, 201, 108);
/* oklch */ color: oklch(82.1% 0.116 105.4);
Tailwind
colors: {
  custom: {
    50: '#dfd998',
    500: '#cfc96c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc96c;
$custom-light: #dfd998;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc96c",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 108
  },
  "hsl": {
    "h": 56.364,
    "s": 50.769,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82117,
    "c": 0.11576,
    "h": 105.4
  },
  "luminance": 0.56121
}

Semantic roles & 50–950 ramp

primary
#CFC96C
secondary
#484D97
accent
#31BE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC96C

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

Preview Lab → · Contrast checker → · Palette generator →

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