#CFD47C#CFD47C

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

Color values

HEX#CFD47C
RGBrgb(207, 212, 124)
HSLhsl(63, 51%, 66%)
HSVhsv(63, 42%, 83%)
CMYKcmyk(2.4%, 0%, 41.5%, 16.9%)
CIE-LABlab(82.81, -14.59, 42.87)
CIE-LCHlch(82.81, 45.28, 108.80°)
OKLaboklab(84.67% -0.0406 0.1038)
OKLCHoklch(84.67% 0.111 111.4)
XYZxyz(52.9144, 61.8085, 28.2076)
Luminance0.6181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD47C #817CD4
analogous
#D4AD7C #CFD47C #A3D47C
triadic
#CFD47C #7CCFD4 #D47CCF
tetradic
#CFD47C #7CD4AD #817CD4 #D47CA3
square
#CFD47C #7CD4AD #817CD4 #D47CA3
split-complementary
#CFD47C #7CA3D4 #AD7CD4
monochromatic
#9BA135 #BEC54E #CFD47C #E0E3AA #F1F2D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD47C#FFFFFF#000000##000000
##CFD47C1.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)
#E0CD75
Deuteranopia (green-blind)
#E1CF80
Tritanopia (blue-blind)
#D9CABF
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cfd47c;
/* rgb */ color: rgb(207, 212, 124);
/* oklch */ color: oklch(84.7% 0.111 111.4);
Tailwind
colors: {
  custom: {
    50: '#dfe1a3',
    500: '#cfd47c',
    950: '#000000',
  },
}
SCSS
$custom: #cfd47c;
$custom-light: #dfe1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd47c",
  "rgb": {
    "r": 207,
    "g": 212,
    "b": 124
  },
  "hsl": {
    "h": 63.409,
    "s": 50.575,
    "l": 65.882
  },
  "oklch": {
    "l": 0.84672,
    "c": 0.11145,
    "h": 111.4
  },
  "luminance": 0.61808
}

Semantic roles & 50–950 ramp

primary
#CFD47C
secondary
#544FA5
accent
#28BE30
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD47C

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

Preview Lab → · Contrast checker → · Palette generator →

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