#CBCA55#CBCA55

#CBCA55 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.7% C 0.139 H 108.7°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#CBCA55
RGBrgb(203, 202, 85)
HSLhsl(59, 53%, 56%)
HSVhsv(59, 58%, 80%)
CMYKcmyk(0%, 0.5%, 58.1%, 20.4%)
CIE-LABlab(79.38, -14.65, 57.12)
CIE-LCHlch(79.38, 58.97, 104.39°)
OKLaboklab(81.72% -0.0444 0.1315)
OKLCHoklch(81.72% 0.139 108.7)
XYZxyz(47.3902, 55.5948, 16.8271)
Luminance0.5559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA55 #5556CB
analogous
#CB8F55 #CBCA55 #91CB55
triadic
#CBCA55 #55CBCA #CA55CB
tetradic
#CBCA55 #55CB8F #5556CB #CB5591
square
#CBCA55 #55CB8F #5556CB #CB5591
split-complementary
#CBCA55 #5591CB #8F55CB
monochromatic
#7F7E27 #AEAD35 #CBCA55 #D9D984 #E8E7B3

Accessibility & contrast

On white

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

On black

12.12
#CBCA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA55
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA55#FFFFFF#000000##000000
##CBCA551.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbca55;
/* rgb */ color: rgb(203, 202, 85);
/* oklch */ color: oklch(81.7% 0.139 108.7);
Tailwind
colors: {
  custom: {
    50: '#ddd989',
    500: '#cbca55',
    950: '#000000',
  },
}
SCSS
$custom: #cbca55;
$custom-light: #ddd989;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca55",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 85
  },
  "hsl": {
    "h": 59.492,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.8172,
    "c": 0.13878,
    "h": 108.7
  },
  "luminance": 0.55593
}

Semantic roles & 50–950 ramp

primary
#CBCA55
secondary
#3E3E87
accent
#4CDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBCA55

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

Preview Lab → · Contrast checker → · Palette generator →

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