#CFD28D#CFD28D

#CFD28D is a very light, moderate yellow. Relative luminance 0.613; OKLCH L 84.5% C 0.090 H 110.3°. Best body text is #000000 at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#CFD28D
RGBrgb(207, 210, 141)
HSLhsl(63, 43%, 69%)
HSVhsv(63, 33%, 82%)
CMYKcmyk(1.4%, 0%, 32.9%, 17.6%)
CIE-LABlab(82.53, -11.64, 33.93)
CIE-LCHlch(82.53, 35.87, 108.94°)
OKLaboklab(84.53% -0.0311 0.084)
OKLCHoklch(84.53% 0.09 110.3)
XYZxyz(53.5868, 61.2825, 34.1999)
Luminance0.6128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD28D #908DD2
analogous
#D2B38D #CFD28D #ADD28D
triadic
#CFD28D #8DCFD2 #D28DCF
tetradic
#CFD28D #8DD2B3 #908DD2 #D28DAD
square
#CFD28D #8DD2B3 #908DD2 #D28DAD
split-complementary
#CFD28D #8DADD2 #B38DD2
monochromatic
#A0A441 #BDC161 #CFD28D #E1E3B9 #F4F5E5

Accessibility & contrast

On white

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

On black

13.26
#CFD28D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD28D
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD28D#FFFFFF#000000##000000
##CFD28D1.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCC88
Deuteranopia (green-blind)
#DDCF90
Tritanopia (blue-blind)
#D8CAC0
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd28d;
/* rgb */ color: rgb(207, 210, 141);
/* oklch */ color: oklch(84.5% 0.090 110.3);
Tailwind
colors: {
  custom: {
    50: '#dedfaf',
    500: '#cfd28d',
    950: '#000000',
  },
}
SCSS
$custom: #cfd28d;
$custom-light: #dedfaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd28d",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 141
  },
  "hsl": {
    "h": 62.609,
    "s": 43.396,
    "l": 68.824
  },
  "oklch": {
    "l": 0.8453,
    "c": 0.0896,
    "h": 110.3
  },
  "luminance": 0.61282
}

Semantic roles & 50–950 ramp

primary
#CFD28D
secondary
#5F5CA8
accent
#2FB735
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFD28D

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

Preview Lab → · Contrast checker → · Palette generator →

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