#CFD28E#CFD28E

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

Color values

HEX#CFD28E
RGBrgb(207, 210, 142)
HSLhsl(63, 43%, 69%)
HSVhsv(63, 32%, 82%)
CMYKcmyk(1.4%, 0%, 32.4%, 17.6%)
CIE-LABlab(82.55, -11.52, 33.44)
CIE-LCHlch(82.55, 35.37, 109.01°)
OKLaboklab(84.55% -0.0306 0.0829)
OKLCHoklch(84.55% 0.088 110.3)
XYZxyz(53.6615, 61.3124, 34.5936)
Luminance0.6131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD28E #918ED2
analogous
#D2B38E #CFD28E #ADD28E
triadic
#CFD28E #8ECFD2 #D28ECF
tetradic
#CFD28E #8ED2B3 #918ED2 #D28EAD
square
#CFD28E #8ED2B3 #918ED2 #D28EAD
split-complementary
#CFD28E #8EADD2 #B38ED2
monochromatic
#A0A441 #BCC162 #CFD28E #E2E3BA #F4F5E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD28E#FFFFFF#000000##000000
##CFD28E1.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)
#DCCC89
Deuteranopia (green-blind)
#DDCF91
Tritanopia (blue-blind)
#D8CAC1
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd28e;
/* rgb */ color: rgb(207, 210, 142);
/* oklch */ color: oklch(84.5% 0.088 110.3);
Tailwind
colors: {
  custom: {
    50: '#dedfaf',
    500: '#cfd28e',
    950: '#000000',
  },
}
SCSS
$custom: #cfd28e;
$custom-light: #dedfaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd28e",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 142
  },
  "hsl": {
    "h": 62.647,
    "s": 43.038,
    "l": 69.02
  },
  "oklch": {
    "l": 0.84548,
    "c": 0.08841,
    "h": 110.3
  },
  "luminance": 0.61312
}

Semantic roles & 50–950 ramp

primary
#CFD28E
secondary
#605CA8
accent
#2FB635
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFD28E

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

Preview Lab → · Contrast checker → · Palette generator →

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