#CFD758#CFD758

#CFD758 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.9% C 0.150 H 112.5°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#CFD758
RGBrgb(207, 215, 88)
HSLhsl(64, 61%, 59%)
HSVhsv(64, 59%, 84%)
CMYKcmyk(3.7%, 0%, 59.1%, 15.7%)
CIE-LABlab(83.22, -19.26, 60.13)
CIE-LCHlch(83.22, 63.14, 107.76°)
OKLaboklab(84.87% -0.0573 0.1382)
OKLCHoklch(84.87% 0.15 112.5)
XYZxyz(51.7953, 62.5719, 18.5797)
Luminance0.6257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD758 #6058D7
analogous
#D7A058 #CFD758 #8FD758
triadic
#CFD758 #58CFD7 #D758CF
tetradic
#CFD758 #58D7A0 #6058D7 #D7588F
square
#CFD758 #58D7A0 #6058D7 #D7588F
split-complementary
#CFD758 #588FD7 #A058D7
monochromatic
#8B9223 #BAC32F #CFD758 #DDE389 #EBEFBB

Accessibility & contrast

On white

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

On black

13.51
#CFD758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD758
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD758#FFFFFF#000000##000000
##CFD7581.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE49
Deuteranopia (green-blind)
#E6D160
Tritanopia (blue-blind)
#DCCBBC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd758;
/* rgb */ color: rgb(207, 215, 88);
/* oklch */ color: oklch(84.9% 0.150 112.5);
Tailwind
colors: {
  custom: {
    50: '#e0e38c',
    500: '#cfd758',
    950: '#000000',
  },
}
SCSS
$custom: #cfd758;
$custom-light: #e0e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd758",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 88
  },
  "hsl": {
    "h": 63.78,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84866,
    "c": 0.1496,
    "h": 112.5
  },
  "luminance": 0.62571
}

Semantic roles & 50–950 ramp

primary
#CFD758
secondary
#423C97
accent
#43E44D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD758

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

Preview Lab → · Contrast checker → · Palette generator →

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