#CFD258#CFD258

#CFD258 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.8% C 0.144 H 110.5°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#CFD258
RGBrgb(207, 210, 88)
HSLhsl(61, 58%, 58%)
HSVhsv(61, 58%, 82%)
CMYKcmyk(1.4%, 0%, 58.1%, 17.6%)
CIE-LABlab(81.87, -16.79, 58.65)
CIE-LCHlch(81.87, 61.01, 105.97°)
OKLaboklab(83.79% -0.0504 0.135)
OKLCHoklch(83.79% 0.144 110.5)
XYZxyz(50.5415, 60.0644, 18.1618)
Luminance0.6006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD258 #5B58D2
analogous
#D29858 #CFD258 #92D258
triadic
#CFD258 #58CFD2 #D258CF
tetradic
#CFD258 #58D298 #5B58D2 #D25892
square
#CFD258 #58D298 #5B58D2 #D25892
split-complementary
#CFD258 #5892D2 #9858D2
monochromatic
#888A25 #B7BB32 #CFD258 #DDDF88 #EBECB8

Accessibility & contrast

On white

1.61
#CFD258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#CFD258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD258
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD258#FFFFFF#000000##000000
##CFD2581.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA4A
Deuteranopia (green-blind)
#E2CD5F
Tritanopia (blue-blind)
#DCC6B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfd258;
/* rgb */ color: rgb(207, 210, 88);
/* oklch */ color: oklch(83.8% 0.144 110.5);
Tailwind
colors: {
  custom: {
    50: '#e0df8c',
    500: '#cfd258',
    950: '#000000',
  },
}
SCSS
$custom: #cfd258;
$custom-light: #e0df8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd258",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 61.475,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.83793,
    "c": 0.14412,
    "h": 110.5
  },
  "luminance": 0.60063
}

Semantic roles & 50–950 ramp

primary
#CFD258
secondary
#403E91
accent
#47E14B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD258

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

Preview Lab → · Contrast checker → · Palette generator →

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