#CFD94A#CFD94A

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

Color values

HEX#CFD94A
RGBrgb(207, 217, 74)
HSLhsl(64, 65%, 57%)
HSVhsv(64, 66%, 85%)
CMYKcmyk(4.6%, 0%, 65.9%, 14.9%)
CIE-LABlab(83.65, -21.14, 66.30)
CIE-LCHlch(83.65, 69.59, 107.68°)
OKLaboklab(85.17% -0.064 0.1492)
OKLCHoklch(85.17% 0.162 113.2)
XYZxyz(51.7824, 63.3866, 15.9843)
Luminance0.6339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD94A #544AD9
analogous
#D99C4A #CFD94A #87D94A
triadic
#CFD94A #4ACFD9 #D94ACF
tetradic
#CFD94A #4AD99C #544AD9 #D94A87
square
#CFD94A #4AD99C #544AD9 #D94A87
split-complementary
#CFD94A #4A87D9 #9C4AD9
monochromatic
#848B1D #B3BE28 #CFD94A #DCE47D #EAEEAF

Accessibility & contrast

On white

1.54
#CFD94A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#CFD94A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD94A
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD94A#FFFFFF#000000##000000
##CFD94A1.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF35
Deuteranopia (green-blind)
#E8D254
Tritanopia (blue-blind)
#DCCCBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd94a;
/* rgb */ color: rgb(207, 217, 74);
/* oklch */ color: oklch(85.2% 0.162 113.2);
Tailwind
colors: {
  custom: {
    50: '#e1e484',
    500: '#cfd94a',
    950: '#000000',
  },
}
SCSS
$custom: #cfd94a;
$custom-light: #e1e484;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd94a",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 74
  },
  "hsl": {
    "h": 64.196,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.85174,
    "c": 0.1624,
    "h": 113.2
  },
  "luminance": 0.63386
}

Semantic roles & 50–950 ramp

primary
#CFD94A
secondary
#3C3691
accent
#40E84B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD94A

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

Preview Lab → · Contrast checker → · Palette generator →

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