#CFD94D#CFD94D

#CFD94D is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.2% C 0.160 H 113.2°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#CFD94D
RGBrgb(207, 217, 77)
HSLhsl(64, 65%, 58%)
HSVhsv(64, 65%, 85%)
CMYKcmyk(4.6%, 0%, 64.5%, 14.9%)
CIE-LABlab(83.67, -20.96, 65.15)
CIE-LCHlch(83.67, 68.44, 107.83°)
OKLaboklab(85.2% -0.0632 0.1473)
OKLCHoklch(85.2% 0.16 113.2)
XYZxyz(51.8859, 63.4280, 16.5293)
Luminance0.6343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD94D #574DD9
analogous
#D99D4D #CFD94D #89D94D
triadic
#CFD94D #4DCFD9 #D94DCF
tetradic
#CFD94D #4DD99D #574DD9 #D94D89
square
#CFD94D #4DD99D #574DD9 #D94D89
split-complementary
#CFD94D #4D89D9 #9D4DD9
monochromatic
#858D1E #B5C029 #CFD94D #DDE47F #EAEFB2

Accessibility & contrast

On white

1.53
#CFD94D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#CFD94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD94D
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD94D#FFFFFF#000000##000000
##CFD94D1.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF3A
Deuteranopia (green-blind)
#E8D257
Tritanopia (blue-blind)
#DCCDBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd94d;
/* rgb */ color: rgb(207, 217, 77);
/* oklch */ color: oklch(85.2% 0.160 113.2);
Tailwind
colors: {
  custom: {
    50: '#e1e486',
    500: '#cfd94d',
    950: '#000000',
  },
}
SCSS
$custom: #cfd94d;
$custom-light: #e1e486;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd94d",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 77
  },
  "hsl": {
    "h": 64.286,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.85198,
    "c": 0.16027,
    "h": 113.2
  },
  "luminance": 0.63427
}

Semantic roles & 50–950 ramp

primary
#CFD94D
secondary
#3E3793
accent
#40E84C
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD94D

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

Preview Lab → · Contrast checker → · Palette generator →

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