#CBCA59#CBCA59

#CBCA59 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.8% C 0.135 H 108.6°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#CBCA59
RGBrgb(203, 202, 89)
HSLhsl(59, 52%, 57%)
HSVhsv(59, 56%, 80%)
CMYKcmyk(0%, 0.5%, 56.2%, 20.4%)
CIE-LABlab(79.42, -14.36, 55.39)
CIE-LCHlch(79.42, 57.22, 104.53°)
OKLaboklab(81.76% -0.0431 0.1283)
OKLCHoklch(81.76% 0.135 108.6)
XYZxyz(47.5536, 55.6601, 17.6877)
Luminance0.5566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA59 #595ACB
analogous
#CB9159 #CBCA59 #93CB59
triadic
#CBCA59 #59CBCA #CA59CB
tetradic
#CBCA59 #59CB91 #595ACB #CB5993
square
#CBCA59 #59CB91 #595ACB #CB5993
split-complementary
#CBCA59 #5993CB #9159CB
monochromatic
#818028 #B0AF37 #CBCA59 #DAD988 #E8E8B6

Accessibility & contrast

On white

1.73
#CBCA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#CBCA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA59
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA59#FFFFFF#000000##000000
##CBCA591.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34D
Deuteranopia (green-blind)
#DBC75F
Tritanopia (blue-blind)
#D8BEB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbca59;
/* rgb */ color: rgb(203, 202, 89);
/* oklch */ color: oklch(81.8% 0.135 108.6);
Tailwind
colors: {
  custom: {
    50: '#ddd98c',
    500: '#cbca59',
    950: '#000000',
  },
}
SCSS
$custom: #cbca59;
$custom-light: #ddd98c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca59",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 89
  },
  "hsl": {
    "h": 59.474,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81762,
    "c": 0.13534,
    "h": 108.6
  },
  "luminance": 0.55659
}

Semantic roles & 50–950 ramp

primary
#CBCA59
secondary
#3F4089
accent
#4DDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBCA59

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

Preview Lab → · Contrast checker → · Palette generator →

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