#CBCA5A#CBCA5A

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

Color values

HEX#CBCA5A
RGBrgb(203, 202, 90)
HSLhsl(59, 52%, 57%)
HSVhsv(59, 56%, 80%)
CMYKcmyk(0%, 0.5%, 55.7%, 20.4%)
CIE-LABlab(79.43, -14.28, 54.95)
CIE-LCHlch(79.43, 56.78, 104.57°)
OKLaboklab(81.77% -0.0428 0.1275)
OKLCHoklch(81.77% 0.134 108.6)
XYZxyz(47.5959, 55.6770, 17.9104)
Luminance0.5568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA5A #5A5BCB
analogous
#CB915A #CBCA5A #94CB5A
triadic
#CBCA5A #5ACBCA #CA5ACB
tetradic
#CBCA5A #5ACB91 #5A5BCB #CB5A94
square
#CBCA5A #5ACB91 #5A5BCB #CB5A94
split-complementary
#CBCA5A #5A94CB #915ACB
monochromatic
#828129 #B0AF38 #CBCA5A #DAD989 #E8E8B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBCA5A#FFFFFF#000000##000000
##CBCA5A1.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)
#D9C34E
Deuteranopia (green-blind)
#DAC760
Tritanopia (blue-blind)
#D8BFB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbca5a;
/* rgb */ color: rgb(203, 202, 90);
/* oklch */ color: oklch(81.8% 0.134 108.6);
Tailwind
colors: {
  custom: {
    50: '#ddd98c',
    500: '#cbca5a',
    950: '#000000',
  },
}
SCSS
$custom: #cbca5a;
$custom-light: #ddd98c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca5a",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 90
  },
  "hsl": {
    "h": 59.469,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81773,
    "c": 0.13445,
    "h": 108.6
  },
  "luminance": 0.55676
}

Semantic roles & 50–950 ramp

primary
#CBCA5A
secondary
#404189
accent
#4EDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBCA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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