#CBBB56#CBBB56

#CBBB56 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.6% C 0.123 H 100.4°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#CBBB56
RGBrgb(203, 187, 86)
HSLhsl(52, 53%, 57%)
HSVhsv(52, 58%, 80%)
CMYKcmyk(0%, 7.9%, 57.6%, 20.4%)
CIE-LABlab(75.40, -6.92, 52.21)
CIE-LCHlch(75.40, 52.67, 97.55°)
OKLaboklab(78.55% -0.0222 0.1211)
OKLCHoklch(78.55% 0.123 100.4)
XYZxyz(44.0802, 48.9108, 15.9211)
Luminance0.4891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBBB56 #5666CB
analogous
#CB8156 #CBBB56 #A1CB56
triadic
#CBBB56 #56CBBB #BB56CB
tetradic
#CBBB56 #56CB81 #5666CB #CB56A1
square
#CBBB56 #56CB81 #5666CB #CB56A1
split-complementary
#CBBB56 #56A1CB #8156CB
monochromatic
#7F7327 #AE9E36 #CBBB56 #D9CE85 #E8E1B4

Accessibility & contrast

On white

1.95
#CBBB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#CBBB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBBB56
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBBB56#FFFFFF#000000##000000
##CBBB561.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB64C
Deuteranopia (green-blind)
#CFBC5B
Tritanopia (blue-blind)
#D9AFA5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cbbb56;
/* rgb */ color: rgb(203, 187, 86);
/* oklch */ color: oklch(78.6% 0.123 100.4);
Tailwind
colors: {
  custom: {
    50: '#ddcf89',
    500: '#cbbb56',
    950: '#000000',
  },
}
SCSS
$custom: #cbbb56;
$custom-light: #ddcf89;
$custom-dark: #000000;
JSON
{
  "hex": "#cbbb56",
  "rgb": {
    "r": 203,
    "g": 187,
    "b": 86
  },
  "hsl": {
    "h": 51.795,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78553,
    "c": 0.12314,
    "h": 100.4
  },
  "luminance": 0.48909
}

Semantic roles & 50–950 ramp

primary
#CBBB56
secondary
#A6ADD6
accent
#5FDC4B
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBBB56

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

Preview Lab → · Contrast checker → · Palette generator →

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