#CBC55A#CBC55A

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

Color values

HEX#CBC55A
RGBrgb(203, 197, 90)
HSLhsl(57, 52%, 57%)
HSVhsv(57, 56%, 80%)
CMYKcmyk(0%, 3%, 55.7%, 20.4%)
CIE-LABlab(78.09, -11.75, 53.43)
CIE-LCHlch(78.09, 54.71, 102.41°)
OKLaboklab(80.71% -0.0356 0.1242)
OKLCHoklch(80.71% 0.129 106)
XYZxyz(46.4417, 53.3686, 17.5257)
Luminance0.5337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC55A #5A60CB
analogous
#CB8C5A #CBC55A #99CB5A
triadic
#CBC55A #5ACBC5 #C55ACB
tetradic
#CBC55A #5ACB8C #5A60CB #CB5A99
square
#CBC55A #5ACB8C #5A60CB #CB5A99
split-complementary
#CBC55A #5A99CB #8C5ACB
monochromatic
#827D29 #B0AA38 #CBC55A #DAD589 #E8E6B7

Accessibility & contrast

On white

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

On black

11.67
#CBC55A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC55A
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC55A#FFFFFF#000000##000000
##CBC55A1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4F
Deuteranopia (green-blind)
#D7C360
Tritanopia (blue-blind)
#D8B9AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc55a;
/* rgb */ color: rgb(203, 197, 90);
/* oklch */ color: oklch(80.7% 0.129 106.0);
Tailwind
colors: {
  custom: {
    50: '#ddd68c',
    500: '#cbc55a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc55a;
$custom-light: #ddd68c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc55a",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 90
  },
  "hsl": {
    "h": 56.814,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80707,
    "c": 0.1292,
    "h": 106
  },
  "luminance": 0.53367
}

Semantic roles & 50–950 ramp

primary
#CBC55A
secondary
#404489
accent
#54DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC55A

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

Preview Lab → · Contrast checker → · Palette generator →

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