#CBCA5D#CBCA5D

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

Color values

HEX#CBCA5D
RGBrgb(203, 202, 93)
HSLhsl(59, 51%, 58%)
HSVhsv(59, 54%, 80%)
CMYKcmyk(0%, 0.5%, 54.2%, 20.4%)
CIE-LABlab(79.46, -14.05, 53.62)
CIE-LCHlch(79.46, 55.43, 104.68°)
OKLaboklab(81.81% -0.0418 0.1249)
OKLCHoklch(81.81% 0.132 108.5)
XYZxyz(47.7262, 55.7291, 18.5965)
Luminance0.5573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA5D #5D5ECB
analogous
#CB935D #CBCA5D #95CB5D
triadic
#CBCA5D #5DCBCA #CA5DCB
tetradic
#CBCA5D #5DCB93 #5D5ECB #CB5D95
square
#CBCA5D #5DCB93 #5D5ECB #CB5D95
split-complementary
#CBCA5D #5D95CB #935DCB
monochromatic
#83832A #B2B139 #CBCA5D #DAD98B #E9E8BA

Accessibility & contrast

On white

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

On black

12.15
#CBCA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA5D
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA5D#FFFFFF#000000##000000
##CBCA5D1.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbca5d;
/* rgb */ color: rgb(203, 202, 93);
/* oklch */ color: oklch(81.8% 0.132 108.5);
Tailwind
colors: {
  custom: {
    50: '#ddd98e',
    500: '#cbca5d',
    950: '#000000',
  },
}
SCSS
$custom: #cbca5d;
$custom-light: #ddd98e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca5d",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 93
  },
  "hsl": {
    "h": 59.455,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81806,
    "c": 0.13175,
    "h": 108.5
  },
  "luminance": 0.55728
}

Semantic roles & 50–950 ramp

primary
#CBCA5D
secondary
#41428B
accent
#4EDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBCA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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