#CFC96F#CFC96F

#CFC96F is a very light, moderate yellow. Relative luminance 0.562; OKLCH L 82.2% C 0.113 H 105.2°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#CFC96F
RGBrgb(207, 201, 111)
HSLhsl(56, 50%, 62%)
HSVhsv(56, 46%, 81%)
CMYKcmyk(0%, 2.9%, 46.4%, 18.8%)
CIE-LABlab(79.72, -10.34, 45.45)
CIE-LCHlch(79.72, 46.61, 102.82°)
OKLaboklab(82.16% -0.0296 0.1087)
OKLCHoklch(82.16% 0.113 105.2)
XYZxyz(49.4891, 56.1877, 23.2742)
Luminance0.5619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC96F #6F75CF
analogous
#CF996F #CFC96F #A5CF6F
triadic
#CFC96F #6FCFC9 #C96FCF
tetradic
#CFC96F #6FCF99 #6F75CF #CF6FA5
square
#CFC96F #6FCF99 #6F75CF #CF6FA5
split-complementary
#CFC96F #6FA5CF #996FCF
monochromatic
#938D31 #C0B841 #CFC96F #DEDA9D #EEEBCB

Accessibility & contrast

On white

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

On black

12.24
#CFC96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC96F
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC96F#FFFFFF#000000##000000
##CFC96F1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C367
Deuteranopia (green-blind)
#D9C873
Tritanopia (blue-blind)
#DBBFB4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfc96f;
/* rgb */ color: rgb(207, 201, 111);
/* oklch */ color: oklch(82.2% 0.113 105.2);
Tailwind
colors: {
  custom: {
    50: '#dfd99a',
    500: '#cfc96f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc96f;
$custom-light: #dfd99a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc96f",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 111
  },
  "hsl": {
    "h": 56.25,
    "s": 50,
    "l": 62.353
  },
  "oklch": {
    "l": 0.82158,
    "c": 0.11267,
    "h": 105.2
  },
  "luminance": 0.56186
}

Semantic roles & 50–950 ramp

primary
#CFC96F
secondary
#4A4E99
accent
#31BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC96F

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

Preview Lab → · Contrast checker → · Palette generator →

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