#CFD47B#CFD47B

#CFD47B is a very light, moderate yellow. Relative luminance 0.618; OKLCH L 84.7% C 0.113 H 111.4°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#CFD47B
RGBrgb(207, 212, 123)
HSLhsl(63, 51%, 66%)
HSVhsv(63, 42%, 83%)
CMYKcmyk(2.4%, 0%, 42%, 16.9%)
CIE-LABlab(82.80, -14.69, 43.35)
CIE-LCHlch(82.80, 45.77, 108.73°)
OKLaboklab(84.66% -0.041 0.1048)
OKLCHoklch(84.66% 0.113 111.4)
XYZxyz(52.8515, 61.7833, 27.8763)
Luminance0.6178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD47B #807BD4
analogous
#D4AC7B #CFD47B #A2D47B
triadic
#CFD47B #7BCFD4 #D47BCF
tetradic
#CFD47B #7BD4AC #807BD4 #D47BA2
square
#CFD47B #7BD4AC #807BD4 #D47BA2
split-complementary
#CFD47B #7BA2D4 #AC7BD4
monochromatic
#9AA034 #BEC54D #CFD47B #E0E3A9 #F1F2D7

Accessibility & contrast

On white

1.57
#CFD47B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#CFD47B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD47B
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD47B#FFFFFF#000000##000000
##CFD47B1.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD74
Deuteranopia (green-blind)
#E1CF7F
Tritanopia (blue-blind)
#D9CABF
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cfd47b;
/* rgb */ color: rgb(207, 212, 123);
/* oklch */ color: oklch(84.7% 0.113 111.4);
Tailwind
colors: {
  custom: {
    50: '#dfe1a2',
    500: '#cfd47b',
    950: '#000000',
  },
}
SCSS
$custom: #cfd47b;
$custom-light: #dfe1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd47b",
  "rgb": {
    "r": 207,
    "g": 212,
    "b": 123
  },
  "hsl": {
    "h": 63.371,
    "s": 50.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.84657,
    "c": 0.11253,
    "h": 111.4
  },
  "luminance": 0.61782
}

Semantic roles & 50–950 ramp

primary
#CFD47B
secondary
#534EA5
accent
#27BE30
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD47B

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

Preview Lab → · Contrast checker → · Palette generator →

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