#CFD27D#CFD27D

#CFD27D is a very light, moderate yellow. Relative luminance 0.608; OKLCH L 84.3% C 0.108 H 110.3°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#CFD27D
RGBrgb(207, 210, 125)
HSLhsl(62, 49%, 66%)
HSVhsv(62, 40%, 82%)
CMYKcmyk(1.4%, 0%, 40.5%, 17.6%)
CIE-LABlab(82.29, -13.48, 41.72)
CIE-LCHlch(82.29, 43.84, 107.91°)
OKLaboklab(84.26% -0.0374 0.1013)
OKLCHoklch(84.26% 0.108 110.3)
XYZxyz(52.4811, 60.8402, 28.3768)
Luminance0.6084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD27D #807DD2
analogous
#D2AA7D #CFD27D #A4D27D
triadic
#CFD27D #7DCFD2 #D27DCF
tetradic
#CFD27D #7DD2AA #807DD2 #D27DA4
square
#CFD27D #7DD2AA #807DD2 #D27DA4
split-complementary
#CFD27D #7DA4D2 #AA7DD2
monochromatic
#9A9E37 #BEC250 #CFD27D #E0E2AA #F1F1D8

Accessibility & contrast

On white

1.59
#CFD27D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#CFD27D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD27D
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD27D#FFFFFF#000000##000000
##CFD27D1.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECB76
Deuteranopia (green-blind)
#DFCE81
Tritanopia (blue-blind)
#D9C9BD
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd27d;
/* rgb */ color: rgb(207, 210, 125);
/* oklch */ color: oklch(84.3% 0.108 110.3);
Tailwind
colors: {
  custom: {
    50: '#dfdfa4',
    500: '#cfd27d',
    950: '#000000',
  },
}
SCSS
$custom: #cfd27d;
$custom-light: #dfdfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd27d",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 125
  },
  "hsl": {
    "h": 62.118,
    "s": 48.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.84263,
    "c": 0.10793,
    "h": 110.3
  },
  "luminance": 0.60839
}

Semantic roles & 50–950 ramp

primary
#CFD27D
secondary
#5350A3
accent
#2ABC2F
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD27D

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

Preview Lab → · Contrast checker → · Palette generator →

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