#CFD858#CFD858

#CFD858 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.1% C 0.151 H 112.9°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#CFD858
RGBrgb(207, 216, 88)
HSLhsl(64, 62%, 60%)
HSVhsv(64, 59%, 85%)
CMYKcmyk(4.2%, 0%, 59.3%, 15.3%)
CIE-LABlab(83.49, -19.75, 60.43)
CIE-LCHlch(83.49, 63.57, 108.10°)
OKLaboklab(85.08% -0.0587 0.1388)
OKLCHoklch(85.08% 0.151 112.9)
XYZxyz(52.0507, 63.0827, 18.6649)
Luminance0.6308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD858 #6158D8
analogous
#D8A158 #CFD858 #8FD858
triadic
#CFD858 #58CFD8 #D858CF
tetradic
#CFD858 #58D8A1 #6158D8 #D8588F
square
#CFD858 #58D8A1 #6158D8 #D8588F
split-complementary
#CFD858 #588FD8 #A158D8
monochromatic
#8B9322 #BAC52E #CFD858 #DDE48A #ECEFBB

Accessibility & contrast

On white

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

On black

13.62
#CFD858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD858
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD858#FFFFFF#000000##000000
##CFD8581.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF49
Deuteranopia (green-blind)
#E7D260
Tritanopia (blue-blind)
#DCCCBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd858;
/* rgb */ color: rgb(207, 216, 88);
/* oklch */ color: oklch(85.1% 0.151 112.9);
Tailwind
colors: {
  custom: {
    50: '#e0e38c',
    500: '#cfd858',
    950: '#000000',
  },
}
SCSS
$custom: #cfd858;
$custom-light: #e0e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd858",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 88
  },
  "hsl": {
    "h": 64.219,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.85082,
    "c": 0.15071,
    "h": 112.9
  },
  "luminance": 0.63082
}

Semantic roles & 50–950 ramp

primary
#CFD858
secondary
#423C98
accent
#43E54E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD858

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

Preview Lab → · Contrast checker → · Palette generator →

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