#CBC156#CBC156

#CBC156 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.8% C 0.129 H 104.0°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#CBC156
RGBrgb(203, 193, 86)
HSLhsl(55, 53%, 57%)
HSVhsv(55, 58%, 80%)
CMYKcmyk(0%, 4.9%, 57.6%, 20.4%)
CIE-LABlab(76.99, -10.01, 54.01)
CIE-LCHlch(76.99, 54.93, 100.50°)
OKLaboklab(79.82% -0.0311 0.125)
OKLCHoklch(79.82% 0.129 104)
XYZxyz(45.3798, 51.5099, 16.3543)
Luminance0.5151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC156 #5660CB
analogous
#CB8756 #CBC156 #9BCB56
triadic
#CBC156 #56CBC1 #C156CB
tetradic
#CBC156 #56CB87 #5660CB #CB569B
square
#CBC156 #56CB87 #5660CB #CB569B
split-complementary
#CBC156 #569BCB #8756CB
monochromatic
#7F7827 #AEA436 #CBC156 #D9D285 #E8E3B4

Accessibility & contrast

On white

1.86
#CBC156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#CBC156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC156
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC156#FFFFFF#000000##000000
##CBC1561.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB4B
Deuteranopia (green-blind)
#D4C15C
Tritanopia (blue-blind)
#D9B5AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cbc156;
/* rgb */ color: rgb(203, 193, 86);
/* oklch */ color: oklch(79.8% 0.129 104.0);
Tailwind
colors: {
  custom: {
    50: '#ddd389',
    500: '#cbc156',
    950: '#000000',
  },
}
SCSS
$custom: #cbc156;
$custom-light: #ddd389;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc156",
  "rgb": {
    "r": 203,
    "g": 193,
    "b": 86
  },
  "hsl": {
    "h": 54.872,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79816,
    "c": 0.12877,
    "h": 104
  },
  "luminance": 0.51508
}

Semantic roles & 50–950 ramp

primary
#CBC156
secondary
#3E4487
accent
#58DC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC156

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

Preview Lab → · Contrast checker → · Palette generator →

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