#CFD479#CFD479

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

Color values

HEX#CFD479
RGBrgb(207, 212, 121)
HSLhsl(63, 51%, 65%)
HSVhsv(63, 43%, 83%)
CMYKcmyk(2.4%, 0%, 42.9%, 16.9%)
CIE-LABlab(82.77, -14.90, 44.30)
CIE-LCHlch(82.77, 46.74, 108.59°)
OKLaboklab(84.63% -0.0418 0.1068)
OKLCHoklch(84.63% 0.115 111.4)
XYZxyz(52.7276, 61.7338, 27.2236)
Luminance0.6173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD479 #7E79D4
analogous
#D4AC79 #CFD479 #A1D479
triadic
#CFD479 #79CFD4 #D479CF
tetradic
#CFD479 #79D4AC #7E79D4 #D479A1
square
#CFD479 #79D4AC #7E79D4 #D479A1
split-complementary
#CFD479 #79A1D4 #AC79D4
monochromatic
#999F33 #BEC54B #CFD479 #E0E3A7 #F0F2D6

Accessibility & contrast

On white

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

On black

13.35
#CFD479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD479
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD479#FFFFFF#000000##000000
##CFD4791.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfd479;
/* rgb */ color: rgb(207, 212, 121);
/* oklch */ color: oklch(84.6% 0.115 111.4);
Tailwind
colors: {
  custom: {
    50: '#dfe1a1',
    500: '#cfd479',
    950: '#000000',
  },
}
SCSS
$custom: #cfd479;
$custom-light: #dfe1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd479",
  "rgb": {
    "r": 207,
    "g": 212,
    "b": 121
  },
  "hsl": {
    "h": 63.297,
    "s": 51.412,
    "l": 65.294
  },
  "oklch": {
    "l": 0.84627,
    "c": 0.11469,
    "h": 111.4
  },
  "luminance": 0.61733
}

Semantic roles & 50–950 ramp

primary
#CFD479
secondary
#524DA4
accent
#27BF2F
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD479

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

Preview Lab → · Contrast checker → · Palette generator →

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