#CBCC5A#CBCC5A

#CBCC5A is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.2% C 0.137 H 109.5°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#CBCC5A
RGBrgb(203, 204, 90)
HSLhsl(61, 53%, 58%)
HSVhsv(61, 56%, 80%)
CMYKcmyk(0.5%, 0%, 55.9%, 20%)
CIE-LABlab(79.97, -15.29, 55.56)
CIE-LCHlch(79.97, 57.62, 105.39°)
OKLaboklab(82.2% -0.0457 0.1288)
OKLCHoklch(82.2% 0.137 109.5)
XYZxyz(48.0682, 56.6216, 18.0678)
Luminance0.5662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC5A #5B5ACC
analogous
#CC945A #CBCC5A #92CC5A
triadic
#CBCC5A #5ACBCC #CC5ACB
tetradic
#CBCC5A #5ACC94 #5B5ACC #CC5A92
square
#CBCC5A #5ACC94 #5B5ACC #CC5A92
split-complementary
#CBCC5A #5A92CC #945ACC
monochromatic
#828329 #B1B237 #CBCC5A #DADA89 #E8E9B7

Accessibility & contrast

On white

1.70
#CBCC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#CBCC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC5A
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC5A#FFFFFF#000000##000000
##CBCC5A1.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44E
Deuteranopia (green-blind)
#DCC860
Tritanopia (blue-blind)
#D8C1B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbcc5a;
/* rgb */ color: rgb(203, 204, 90);
/* oklch */ color: oklch(82.2% 0.137 109.5);
Tailwind
colors: {
  custom: {
    50: '#dddb8c',
    500: '#cbcc5a',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc5a;
$custom-light: #dddb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc5a",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 60.526,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.822,
    "c": 0.13661,
    "h": 109.5
  },
  "luminance": 0.5662
}

Semantic roles & 50–950 ramp

primary
#CBCC5A
secondary
#40408A
accent
#4CDC4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBCC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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