#CBD158#CBD158

#CBD158 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.3% C 0.144 H 111.8°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#CBD158
RGBrgb(203, 209, 88)
HSLhsl(63, 57%, 58%)
HSVhsv(63, 58%, 82%)
CMYKcmyk(2.9%, 0%, 57.9%, 18%)
CIE-LABlab(81.29, -17.93, 57.92)
CIE-LCHlch(81.29, 60.63, 107.20°)
OKLaboklab(83.25% -0.0533 0.1336)
OKLCHoklch(83.25% 0.144 111.8)
XYZxyz(49.1918, 59.0031, 18.0280)
Luminance0.5900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD158 #5E58D1
analogous
#D19A58 #CBD158 #8ED158
triadic
#CBD158 #58CBD1 #D158CB
tetradic
#CBD158 #58D19A #5E58D1 #D1588E
square
#CBD158 #58D19A #5E58D1 #D1588E
split-complementary
#CBD158 #588ED1 #9A58D1
monochromatic
#848926 #B2B933 #CBD158 #DADE88 #E9EBB8

Accessibility & contrast

On white

1.64
#CBD158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#CBD158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD158
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD158#FFFFFF#000000##000000
##CBD1581.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C84B
Deuteranopia (green-blind)
#E0CC5F
Tritanopia (blue-blind)
#D8C5B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cbd158;
/* rgb */ color: rgb(203, 209, 88);
/* oklch */ color: oklch(83.3% 0.144 111.8);
Tailwind
colors: {
  custom: {
    50: '#ddde8c',
    500: '#cbd158',
    950: '#000000',
  },
}
SCSS
$custom: #cbd158;
$custom-light: #ddde8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd158",
  "rgb": {
    "r": 203,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 62.975,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83254,
    "c": 0.14382,
    "h": 111.8
  },
  "luminance": 0.59002
}

Semantic roles & 50–950 ramp

primary
#CBD158
secondary
#423E8F
accent
#48E04F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBD158

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

Preview Lab → · Contrast checker → · Palette generator →

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