#CFD99B#CFD99B

#CFD99B is a very light, moderate yellow. Relative luminance 0.653; OKLCH L 86.3% C 0.082 H 115.6°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#CFD99B
RGBrgb(207, 217, 155)
HSLhsl(70, 45%, 73%)
HSVhsv(70, 29%, 85%)
CMYKcmyk(4.6%, 0%, 28.6%, 14.9%)
CIE-LABlab(84.62, -13.38, 29.49)
CIE-LCHlch(84.62, 32.39, 114.40°)
OKLaboklab(86.26% -0.0354 0.074)
OKLCHoklch(86.26% 0.082 115.6)
XYZxyz(56.4612, 65.2581, 40.6256)
Luminance0.6526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD99B #A59BD9
analogous
#D9C49B #CFD99B #B0D99B
triadic
#CFD99B #9BCFD9 #D99BCF
tetradic
#CFD99B #9BD9C4 #A59BD9 #D99BB0
square
#CFD99B #9BD9C4 #A59BD9 #D99BB0
split-complementary
#CFD99B #9BB0D9 #C49BD9
monochromatic
#A3B545 #BAC86F #CFD99B #E4EAC7 #F4F7E9

Accessibility & contrast

On white

1.49
#CFD99B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.05
#CFD99B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD99B
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD99B#FFFFFF#000000##000000
##CFD99B1.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D397
Deuteranopia (green-blind)
#E1D49E
Tritanopia (blue-blind)
#D6D2C9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #cfd99b;
/* rgb */ color: rgb(207, 217, 155);
/* oklch */ color: oklch(86.3% 0.082 115.6);
Tailwind
colors: {
  custom: {
    50: '#dee4b9',
    500: '#cfd99b',
    950: '#000000',
  },
}
SCSS
$custom: #cfd99b;
$custom-light: #dee4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd99b",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 155
  },
  "hsl": {
    "h": 69.677,
    "s": 44.928,
    "l": 72.941
  },
  "oklch": {
    "l": 0.86264,
    "c": 0.082,
    "h": 115.6
  },
  "luminance": 0.65258
}

Semantic roles & 50–950 ramp

primary
#CFD99B
secondary
#7468B0
accent
#2DB844
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFD99B

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

Preview Lab → · Contrast checker → · Palette generator →

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