#CBD958#CBD958

#CBD958 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.0% C 0.153 H 114.9°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#CBD958
RGBrgb(203, 217, 88)
HSLhsl(67, 63%, 60%)
HSVhsv(67, 59%, 85%)
CMYKcmyk(6.5%, 0%, 59.4%, 14.9%)
CIE-LABlab(83.46, -21.85, 60.31)
CIE-LCHlch(83.46, 64.15, 109.92°)
OKLaboklab(84.98% -0.0644 0.1386)
OKLCHoklch(84.98% 0.153 114.9)
XYZxyz(51.2040, 63.0276, 18.6988)
Luminance0.6303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD958 #6658D9
analogous
#D9A758 #CBD958 #8AD958
triadic
#CBD958 #58CBD9 #D958CB
tetradic
#CBD958 #58D9A7 #6658D9 #D9588A
square
#CBD958 #58D9A7 #6658D9 #D9588A
split-complementary
#CBD958 #588AD9 #A758D9
monochromatic
#889522 #B6C72D #CBD958 #DBE48A #EAF0BC

Accessibility & contrast

On white

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

On black

13.61
#CBD958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD958
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD958#FFFFFF#000000##000000
##CBD9581.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbd958;
/* rgb */ color: rgb(203, 217, 88);
/* oklch */ color: oklch(85.0% 0.153 114.9);
Tailwind
colors: {
  custom: {
    50: '#dde48c',
    500: '#cbd958',
    950: '#000000',
  },
}
SCSS
$custom: #cbd958;
$custom-light: #dde48c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd958",
  "rgb": {
    "r": 203,
    "g": 217,
    "b": 88
  },
  "hsl": {
    "h": 66.512,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84984,
    "c": 0.15286,
    "h": 114.9
  },
  "luminance": 0.63027
}

Semantic roles & 50–950 ramp

primary
#CBD958
secondary
#463C9A
accent
#42E654
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBD958

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

Preview Lab → · Contrast checker → · Palette generator →

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