#CBD159#CBD159

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

Color values

HEX#CBD159
RGBrgb(203, 209, 89)
HSLhsl(63, 57%, 58%)
HSVhsv(63, 57%, 82%)
CMYKcmyk(2.9%, 0%, 57.4%, 18%)
CIE-LABlab(81.30, -17.85, 57.50)
CIE-LCHlch(81.30, 60.20, 107.25°)
OKLaboklab(83.26% -0.053 0.1328)
OKLCHoklch(83.26% 0.143 111.8)
XYZxyz(49.2335, 59.0198, 18.2477)
Luminance0.5902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD159 #5F59D1
analogous
#D19B59 #CBD159 #8FD159
triadic
#CBD159 #59CBD1 #D159CB
tetradic
#CBD159 #59D19B #5F59D1 #D1598F
square
#CBD159 #59D19B #5F59D1 #D1598F
split-complementary
#CBD159 #598FD1 #9B59D1
monochromatic
#858926 #B3B933 #CBD159 #DADE89 #E9ECB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBD159#FFFFFF#000000##000000
##CBD1591.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)
#DFC84C
Deuteranopia (green-blind)
#E0CC60
Tritanopia (blue-blind)
#D7C5B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cbd159;
/* rgb */ color: rgb(203, 209, 89);
/* oklch */ color: oklch(83.3% 0.143 111.8);
Tailwind
colors: {
  custom: {
    50: '#ddde8c',
    500: '#cbd159',
    950: '#000000',
  },
}
SCSS
$custom: #cbd159;
$custom-light: #ddde8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd159",
  "rgb": {
    "r": 203,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 63,
    "s": 56.604,
    "l": 58.431
  },
  "oklch": {
    "l": 0.83264,
    "c": 0.14297,
    "h": 111.8
  },
  "luminance": 0.59019
}

Semantic roles & 50–950 ramp

primary
#CBD159
secondary
#423E90
accent
#48E050
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBD159

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

Preview Lab → · Contrast checker → · Palette generator →

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