#CFD97B#CFD97B

#CFD97B is a very light, moderate yellow. Relative luminance 0.643; OKLCH L 85.7% C 0.119 H 113.9°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#CFD97B
RGBrgb(207, 217, 123)
HSLhsl(66, 55%, 67%)
HSVhsv(66, 43%, 85%)
CMYKcmyk(4.6%, 0%, 43.3%, 14.9%)
CIE-LABlab(84.13, -17.18, 45.01)
CIE-LCHlch(84.13, 48.18, 110.90°)
OKLaboklab(85.72% -0.0481 0.1085)
OKLCHoklch(85.72% 0.119 113.9)
XYZxyz(54.1208, 64.3219, 28.2994)
Luminance0.6432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD97B #857BD9
analogous
#D9B47B #CFD97B #A0D97B
triadic
#CFD97B #7BCFD9 #D97BCF
tetradic
#CFD97B #7BD9B4 #857BD9 #D97BA0
square
#CFD97B #7BD9B4 #857BD9 #D97BA0
split-complementary
#CFD97B #7BA0D9 #B47BD9
monochromatic
#9CA931 #BECB4B #CFD97B #E0E7AB #F2F4DA

Accessibility & contrast

On white

1.51
#CFD97B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#CFD97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD97B
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD97B#FFFFFF#000000##000000
##CFD97B1.001.5113.8613.86
#FFFFFF1.511.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D173
Deuteranopia (green-blind)
#E5D380
Tritanopia (blue-blind)
#D9CFC3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfd97b;
/* rgb */ color: rgb(207, 217, 123);
/* oklch */ color: oklch(85.7% 0.119 113.9);
Tailwind
colors: {
  custom: {
    50: '#dfe4a3',
    500: '#cfd97b',
    950: '#000000',
  },
}
SCSS
$custom: #cfd97b;
$custom-light: #dfe4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd97b",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 123
  },
  "hsl": {
    "h": 66.383,
    "s": 55.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.85721,
    "c": 0.11871,
    "h": 113.9
  },
  "luminance": 0.64321
}

Semantic roles & 50–950 ramp

primary
#CFD97B
secondary
#564CAC
accent
#23C334
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD97B

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

Preview Lab → · Contrast checker → · Palette generator →

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