#CFD47F#CFD47F

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

Color values

HEX#CFD47F
RGBrgb(207, 212, 127)
HSLhsl(64, 50%, 66%)
HSVhsv(64, 40%, 83%)
CMYKcmyk(2.4%, 0%, 40.1%, 16.9%)
CIE-LABlab(82.85, -14.27, 41.43)
CIE-LCHlch(82.85, 43.82, 109.00°)
OKLaboklab(84.72% -0.0395 0.1007)
OKLCHoklch(84.72% 0.108 111.4)
XYZxyz(53.1070, 61.8855, 29.2220)
Luminance0.6189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD47F #847FD4
analogous
#D4AF7F #CFD47F #A5D47F
triadic
#CFD47F #7FCFD4 #D47FCF
tetradic
#CFD47F #7FD4AF #847FD4 #D47FA5
square
#CFD47F #7FD4AF #847FD4 #D47FA5
split-complementary
#CFD47F #7FA5D4 #AF7FD4
monochromatic
#9CA236 #BEC551 #CFD47F #E0E3AD #F1F3DB

Accessibility & contrast

On white

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

On black

13.38
#CFD47F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD47F
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD47F#FFFFFF#000000##000000
##CFD47F1.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD78
Deuteranopia (green-blind)
#E0D083
Tritanopia (blue-blind)
#D9CBBF
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cfd47f;
/* rgb */ color: rgb(207, 212, 127);
/* oklch */ color: oklch(84.7% 0.108 111.4);
Tailwind
colors: {
  custom: {
    50: '#dfe1a5',
    500: '#cfd47f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd47f;
$custom-light: #dfe1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd47f",
  "rgb": {
    "r": 207,
    "g": 212,
    "b": 127
  },
  "hsl": {
    "h": 63.529,
    "s": 49.708,
    "l": 66.471
  },
  "oklch": {
    "l": 0.84718,
    "c": 0.10816,
    "h": 111.4
  },
  "luminance": 0.61885
}

Semantic roles & 50–950 ramp

primary
#CFD47F
secondary
#5651A7
accent
#28BD31
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD47F

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

Preview Lab → · Contrast checker → · Palette generator →

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