#CBC55C#CBC55C

#CBC55C is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.7% C 0.127 H 105.9°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#CBC55C
RGBrgb(203, 197, 92)
HSLhsl(57, 52%, 58%)
HSVhsv(57, 55%, 80%)
CMYKcmyk(0%, 3%, 54.7%, 20.4%)
CIE-LABlab(78.11, -11.60, 52.54)
CIE-LCHlch(78.11, 53.80, 102.45°)
OKLaboklab(80.73% -0.0349 0.1225)
OKLCHoklch(80.73% 0.127 105.9)
XYZxyz(46.5280, 53.4031, 17.9800)
Luminance0.5340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC55C #5C62CB
analogous
#CB8E5C #CBC55C #99CB5C
triadic
#CBC55C #5CCBC5 #C55CCB
tetradic
#CBC55C #5CCB8E #5C62CB #CB5C99
square
#CBC55C #5CCB8E #5C62CB #CB5C99
split-complementary
#CBC55C #5C99CB #8E5CCB
monochromatic
#837E2A #B1AB39 #CBC55C #DAD68A #E9E6B9

Accessibility & contrast

On white

1.80
#CBC55C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#CBC55C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC55C
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC55C#FFFFFF#000000##000000
##CBC55C1.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF52
Deuteranopia (green-blind)
#D6C361
Tritanopia (blue-blind)
#D8BAAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc55c;
/* rgb */ color: rgb(203, 197, 92);
/* oklch */ color: oklch(80.7% 0.127 105.9);
Tailwind
colors: {
  custom: {
    50: '#ddd68d',
    500: '#cbc55c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc55c;
$custom-light: #ddd68d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc55c",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 92
  },
  "hsl": {
    "h": 56.757,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8073,
    "c": 0.12739,
    "h": 105.9
  },
  "luminance": 0.53402
}

Semantic roles & 50–950 ramp

primary
#CBC55C
secondary
#41458A
accent
#54DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC55C

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

Preview Lab → · Contrast checker → · Palette generator →

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