#CBC55B#CBC55B

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

Color values

HEX#CBC55B
RGBrgb(203, 197, 91)
HSLhsl(57, 52%, 58%)
HSVhsv(57, 55%, 80%)
CMYKcmyk(0%, 3%, 55.2%, 20.4%)
CIE-LABlab(78.10, -11.68, 52.99)
CIE-LCHlch(78.10, 54.26, 102.43°)
OKLaboklab(80.72% -0.0353 0.1234)
OKLCHoklch(80.72% 0.128 106)
XYZxyz(46.4846, 53.3858, 17.7513)
Luminance0.5338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC55B #5B61CB
analogous
#CB8D5B #CBC55B #99CB5B
triadic
#CBC55B #5BCBC5 #C55BCB
tetradic
#CBC55B #5BCB8D #5B61CB #CB5B99
square
#CBC55B #5BCB8D #5B61CB #CB5B99
split-complementary
#CBC55B #5B99CB #8D5BCB
monochromatic
#827E29 #B1AA38 #CBC55B #DAD589 #E8E6B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC55B#FFFFFF#000000##000000
##CBC55B1.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)
#D4BE50
Deuteranopia (green-blind)
#D7C361
Tritanopia (blue-blind)
#D8BAAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc55b;
/* rgb */ color: rgb(203, 197, 91);
/* oklch */ color: oklch(80.7% 0.128 106.0);
Tailwind
colors: {
  custom: {
    50: '#ddd68d',
    500: '#cbc55b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc55b;
$custom-light: #ddd68d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc55b",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 91
  },
  "hsl": {
    "h": 56.786,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80719,
    "c": 0.1283,
    "h": 106
  },
  "luminance": 0.53384
}

Semantic roles & 50–950 ramp

primary
#CBC55B
secondary
#40448A
accent
#54DB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC55B

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

Preview Lab → · Contrast checker → · Palette generator →

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