#CFD299#CFD299

#CFD299 is a very light, moderate yellow. Relative luminance 0.617; OKLCH L 84.8% C 0.075 H 110.4°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#CFD299
RGBrgb(207, 210, 153)
HSLhsl(63, 39%, 71%)
HSVhsv(63, 27%, 82%)
CMYKcmyk(1.4%, 0%, 27.1%, 17.6%)
CIE-LABlab(82.73, -10.11, 28.00)
CIE-LCHlch(82.73, 29.77, 109.85°)
OKLaboklab(84.76% -0.0262 0.0703)
OKLCHoklch(84.76% 0.075 110.4)
XYZxyz(54.5285, 61.6592, 39.1597)
Luminance0.6166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD299 #9C99D2
analogous
#D2B899 #CFD299 #B2D299
triadic
#CFD299 #99CFD2 #D299CF
tetradic
#CFD299 #99D2B8 #9C99D2 #D299B2
square
#CFD299 #99D2B8 #9C99D2 #D299B2
split-complementary
#CFD299 #99B2D2 #B899D2
monochromatic
#A2A74A #BBBF6F #CFD299 #E3E5C3 #F5F6EA

Accessibility & contrast

On white

1.58
#CFD299 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.33
#CFD299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD299
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD299#FFFFFF#000000##000000
##CFD2991.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCD95
Deuteranopia (green-blind)
#DBCF9B
Tritanopia (blue-blind)
#D7CBC3
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cfd299;
/* rgb */ color: rgb(207, 210, 153);
/* oklch */ color: oklch(84.8% 0.075 110.4);
Tailwind
colors: {
  custom: {
    50: '#dedfb7',
    500: '#cfd299',
    950: '#000000',
  },
}
SCSS
$custom: #cfd299;
$custom-light: #dedfb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd299",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 153
  },
  "hsl": {
    "h": 63.158,
    "s": 38.776,
    "l": 71.176
  },
  "oklch": {
    "l": 0.84756,
    "c": 0.07505,
    "h": 110.4
  },
  "luminance": 0.61658
}

Semantic roles & 50–950 ramp

primary
#CFD299
secondary
#6B67A8
accent
#34B23A
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFD299

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

Preview Lab → · Contrast checker → · Palette generator →

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