#CFD94F#CFD94F

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

Color values

HEX#CFD94F
RGBrgb(207, 217, 79)
HSLhsl(64, 64%, 58%)
HSVhsv(64, 64%, 85%)
CMYKcmyk(4.6%, 0%, 63.6%, 14.9%)
CIE-LABlab(83.68, -20.84, 64.37)
CIE-LCHlch(83.68, 67.66, 107.94°)
OKLaboklab(85.22% -0.0627 0.1459)
OKLCHoklch(85.22% 0.159 113.3)
XYZxyz(51.9576, 63.4567, 16.9069)
Luminance0.6346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD94F #594FD9
analogous
#D99E4F #CFD94F #8AD94F
triadic
#CFD94F #4FCFD9 #D94FCF
tetradic
#CFD94F #4FD99E #594FD9 #D94F8A
square
#CFD94F #4FD99E #594FD9 #D94F8A
split-complementary
#CFD94F #4F8AD9 #9E4FD9
monochromatic
#878F1F #B6C12A #CFD94F #DDE481 #EAEFB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD94F#FFFFFF#000000##000000
##CFD94F1.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)
#E8CF3D
Deuteranopia (green-blind)
#E8D258
Tritanopia (blue-blind)
#DCCDBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd94f;
/* rgb */ color: rgb(207, 217, 79);
/* oklch */ color: oklch(85.2% 0.159 113.3);
Tailwind
colors: {
  custom: {
    50: '#e1e487',
    500: '#cfd94f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd94f;
$custom-light: #e1e487;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd94f",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 79
  },
  "hsl": {
    "h": 64.348,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85215,
    "c": 0.15882,
    "h": 113.3
  },
  "luminance": 0.63456
}

Semantic roles & 50–950 ramp

primary
#CFD94F
secondary
#3F3894
accent
#40E74C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD94F

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

Preview Lab → · Contrast checker → · Palette generator →

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