#CFD477#CFD477

#CFD477 is a very light, moderate yellow. Relative luminance 0.617; OKLCH L 84.6% C 0.117 H 111.3°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#CFD477
RGBrgb(207, 212, 119)
HSLhsl(63, 52%, 65%)
HSVhsv(63, 44%, 83%)
CMYKcmyk(2.4%, 0%, 43.9%, 16.9%)
CIE-LABlab(82.75, -15.11, 45.25)
CIE-LCHlch(82.75, 47.70, 108.46°)
OKLaboklab(84.6% -0.0425 0.1088)
OKLCHoklch(84.6% 0.117 111.3)
XYZxyz(52.6062, 61.6852, 26.5844)
Luminance0.6168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD477 #7C77D4
analogous
#D4AB77 #CFD477 #A0D477
triadic
#CFD477 #77CFD4 #D477CF
tetradic
#CFD477 #77D4AB #7C77D4 #D477A0
square
#CFD477 #77D4AB #7C77D4 #D477A0
split-complementary
#CFD477 #77A0D4 #AB77D4
monochromatic
#999E32 #BFC549 #CFD477 #DFE3A5 #F0F1D4

Accessibility & contrast

On white

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

On black

13.34
#CFD477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD477
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD477#FFFFFF#000000##000000
##CFD4771.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD6F
Deuteranopia (green-blind)
#E1CF7B
Tritanopia (blue-blind)
#DACABE
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cfd477;
/* rgb */ color: rgb(207, 212, 119);
/* oklch */ color: oklch(84.6% 0.117 111.3);
Tailwind
colors: {
  custom: {
    50: '#dfe1a0',
    500: '#cfd477',
    950: '#000000',
  },
}
SCSS
$custom: #cfd477;
$custom-light: #dfe1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd477",
  "rgb": {
    "r": 207,
    "g": 212,
    "b": 119
  },
  "hsl": {
    "h": 63.226,
    "s": 51.955,
    "l": 64.902
  },
  "oklch": {
    "l": 0.84598,
    "c": 0.11682,
    "h": 111.3
  },
  "luminance": 0.61684
}

Semantic roles & 50–950 ramp

primary
#CFD477
secondary
#514CA3
accent
#26BF2E
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD477

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

Preview Lab → · Contrast checker → · Palette generator →

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