#CBCA5B#CBCA5B

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

Color values

HEX#CBCA5B
RGBrgb(203, 202, 91)
HSLhsl(59, 52%, 58%)
HSVhsv(59, 55%, 80%)
CMYKcmyk(0%, 0.5%, 55.2%, 20.4%)
CIE-LABlab(79.44, -14.21, 54.51)
CIE-LCHlch(79.44, 56.33, 104.61°)
OKLaboklab(81.78% -0.0425 0.1266)
OKLCHoklch(81.78% 0.134 108.5)
XYZxyz(47.6388, 55.6942, 18.1361)
Luminance0.5569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA5B #5B5CCB
analogous
#CB925B #CBCA5B #94CB5B
triadic
#CBCA5B #5BCBCA #CA5BCB
tetradic
#CBCA5B #5BCB92 #5B5CCB #CB5B94
square
#CBCA5B #5BCB92 #5B5CCB #CB5B94
split-complementary
#CBCA5B #5B94CB #925BCB
monochromatic
#828129 #B1B038 #CBCA5B #DAD989 #E8E8B8

Accessibility & contrast

On white

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

On black

12.14
#CBCA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA5B
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA5B#FFFFFF#000000##000000
##CBCA5B1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C350
Deuteranopia (green-blind)
#DAC761
Tritanopia (blue-blind)
#D8BFB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbca5b;
/* rgb */ color: rgb(203, 202, 91);
/* oklch */ color: oklch(81.8% 0.134 108.5);
Tailwind
colors: {
  custom: {
    50: '#ddd98d',
    500: '#cbca5b',
    950: '#000000',
  },
}
SCSS
$custom: #cbca5b;
$custom-light: #ddd98d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca5b",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 59.464,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81784,
    "c": 0.13356,
    "h": 108.5
  },
  "luminance": 0.55693
}

Semantic roles & 50–950 ramp

primary
#CBCA5B
secondary
#40418A
accent
#4EDB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBCA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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