#CFD958#CFD958

#CFD958 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.3% C 0.152 H 113.3°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#CFD958
RGBrgb(207, 217, 88)
HSLhsl(65, 63%, 60%)
HSVhsv(65, 59%, 85%)
CMYKcmyk(4.6%, 0%, 59.4%, 14.9%)
CIE-LABlab(83.76, -20.24, 60.72)
CIE-LCHlch(83.76, 64.00, 108.43°)
OKLaboklab(85.3% -0.0601 0.1394)
OKLCHoklch(85.3% 0.152 113.3)
XYZxyz(52.3077, 63.5967, 18.7505)
Luminance0.6360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD958 #6258D9
analogous
#D9A258 #CFD958 #8FD958
triadic
#CFD958 #58CFD9 #D958CF
tetradic
#CFD958 #58D9A2 #6258D9 #D9588F
square
#CFD958 #58D9A2 #6258D9 #D9588F
split-complementary
#CFD958 #588FD9 #A258D9
monochromatic
#8C9522 #BBC72D #CFD958 #DDE48A #ECF0BC

Accessibility & contrast

On white

1.53
#CFD958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#CFD958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD958
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD958#FFFFFF#000000##000000
##CFD9581.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF49
Deuteranopia (green-blind)
#E8D260
Tritanopia (blue-blind)
#DCCDBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd958;
/* rgb */ color: rgb(207, 217, 88);
/* oklch */ color: oklch(85.3% 0.152 113.3);
Tailwind
colors: {
  custom: {
    50: '#e0e48c',
    500: '#cfd958',
    950: '#000000',
  },
}
SCSS
$custom: #cfd958;
$custom-light: #e0e48c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd958",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 88
  },
  "hsl": {
    "h": 64.651,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.85297,
    "c": 0.15183,
    "h": 113.3
  },
  "luminance": 0.63596
}

Semantic roles & 50–950 ramp

primary
#CFD958
secondary
#433C9A
accent
#42E64F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD958

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

Preview Lab → · Contrast checker → · Palette generator →

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