#CBC559#CBC559

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

Color values

HEX#CBC559
RGBrgb(203, 197, 89)
HSLhsl(57, 52%, 57%)
HSVhsv(57, 56%, 80%)
CMYKcmyk(0%, 3%, 56.2%, 20.4%)
CIE-LABlab(78.08, -11.83, 53.88)
CIE-LCHlch(78.08, 55.16, 102.38°)
OKLaboklab(80.7% -0.0359 0.125)
OKLCHoklch(80.7% 0.13 106)
XYZxyz(46.3994, 53.3517, 17.3030)
Luminance0.5335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC559 #595FCB
analogous
#CB8C59 #CBC559 #98CB59
triadic
#CBC559 #59CBC5 #C559CB
tetradic
#CBC559 #59CB8C #595FCB #CB5998
square
#CBC559 #59CB8C #595FCB #CB5998
split-complementary
#CBC559 #5998CB #8C59CB
monochromatic
#817C28 #B0A937 #CBC559 #DAD588 #E8E6B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC559#FFFFFF#000000##000000
##CBC5591.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)
#D4BE4E
Deuteranopia (green-blind)
#D7C35F
Tritanopia (blue-blind)
#D8B9AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc559;
/* rgb */ color: rgb(203, 197, 89);
/* oklch */ color: oklch(80.7% 0.130 106.0);
Tailwind
colors: {
  custom: {
    50: '#ddd68b',
    500: '#cbc559',
    950: '#000000',
  },
}
SCSS
$custom: #cbc559;
$custom-light: #ddd68b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc559",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 89
  },
  "hsl": {
    "h": 56.842,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80696,
    "c": 0.1301,
    "h": 106
  },
  "luminance": 0.5335
}

Semantic roles & 50–950 ramp

primary
#CBC559
secondary
#3F4389
accent
#54DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC559

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

Preview Lab → · Contrast checker → · Palette generator →

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