#CFD84E#CFD84E

#CFD84E is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.0% C 0.158 H 112.9°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#CFD84E
RGBrgb(207, 216, 78)
HSLhsl(64, 64%, 58%)
HSVhsv(64, 64%, 85%)
CMYKcmyk(4.2%, 0%, 63.9%, 15.3%)
CIE-LABlab(83.40, -20.41, 64.48)
CIE-LCHlch(83.40, 67.63, 107.57°)
OKLaboklab(84.99% -0.0616 0.146)
OKLCHoklch(84.99% 0.158 112.9)
XYZxyz(51.6645, 62.9283, 16.6310)
Luminance0.6293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD84E #574ED8
analogous
#D89C4E #CFD84E #8AD84E
triadic
#CFD84E #4ECFD8 #D84ECF
tetradic
#CFD84E #4ED89C #574ED8 #D84E8A
square
#CFD84E #4ED89C #574ED8 #D84E8A
split-complementary
#CFD84E #4E8AD8 #9C4ED8
monochromatic
#858D1F #B5BF2A #CFD84E #DDE380 #EAEEB2

Accessibility & contrast

On white

1.55
#CFD84E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#CFD84E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD84E
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD84E#FFFFFF#000000##000000
##CFD84E1.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfd84e;
/* rgb */ color: rgb(207, 216, 78);
/* oklch */ color: oklch(85.0% 0.158 112.9);
Tailwind
colors: {
  custom: {
    50: '#e1e386',
    500: '#cfd84e',
    950: '#000000',
  },
}
SCSS
$custom: #cfd84e;
$custom-light: #e1e386;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd84e",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 78
  },
  "hsl": {
    "h": 63.913,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84991,
    "c": 0.15847,
    "h": 112.9
  },
  "luminance": 0.62927
}

Semantic roles & 50–950 ramp

primary
#CFD84E
secondary
#3E3892
accent
#41E74C
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD84E

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

Preview Lab → · Contrast checker → · Palette generator →

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