#CFD474#CFD474

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

Color values

HEX#CFD474
RGBrgb(207, 212, 116)
HSLhsl(63, 53%, 64%)
HSVhsv(63, 45%, 83%)
CMYKcmyk(2.4%, 0%, 45.3%, 16.9%)
CIE-LABlab(82.71, -15.41, 46.66)
CIE-LCHlch(82.71, 49.14, 108.27°)
OKLaboklab(84.56% -0.0436 0.1118)
OKLCHoklch(84.56% 0.12 111.3)
XYZxyz(52.4288, 61.6143, 25.6505)
Luminance0.6161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD474 #7974D4
analogous
#D4A974 #CFD474 #9FD474
triadic
#CFD474 #74CFD4 #D474CF
tetradic
#CFD474 #74D4A9 #7974D4 #D4749F
square
#CFD474 #74D4A9 #7974D4 #D4749F
split-complementary
#CFD474 #749FD4 #A974D4
monochromatic
#979D31 #BFC645 #CFD474 #DFE2A3 #EFF1D1

Accessibility & contrast

On white

1.58
#CFD474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.32
#CFD474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD474
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD474#FFFFFF#000000##000000
##CFD4741.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC6C
Deuteranopia (green-blind)
#E1CF79
Tritanopia (blue-blind)
#DACABD
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cfd474;
/* rgb */ color: rgb(207, 212, 116);
/* oklch */ color: oklch(84.6% 0.120 111.3);
Tailwind
colors: {
  custom: {
    50: '#dfe19e',
    500: '#cfd474',
    950: '#000000',
  },
}
SCSS
$custom: #cfd474;
$custom-light: #dfe19e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd474",
  "rgb": {
    "r": 207,
    "g": 212,
    "b": 116
  },
  "hsl": {
    "h": 63.125,
    "s": 52.747,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84556,
    "c": 0.11997,
    "h": 111.3
  },
  "luminance": 0.61613
}

Semantic roles & 50–950 ramp

primary
#CFD474
secondary
#4F4AA2
accent
#25C02D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD474

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

Preview Lab → · Contrast checker → · Palette generator →

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