#CBC855#CBC855

#CBC855 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.3% C 0.137 H 107.7°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#CBC855
RGBrgb(203, 200, 85)
HSLhsl(58, 53%, 56%)
HSVhsv(58, 58%, 80%)
CMYKcmyk(0%, 1.5%, 58.1%, 20.4%)
CIE-LABlab(78.85, -13.65, 56.53)
CIE-LCHlch(78.85, 58.16, 103.57°)
OKLaboklab(81.29% -0.0415 0.1302)
OKLCHoklch(81.29% 0.137 107.7)
XYZxyz(46.9240, 54.6623, 16.6716)
Luminance0.5466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC855 #5558CB
analogous
#CB8D55 #CBC855 #93CB55
triadic
#CBC855 #55CBC8 #C855CB
tetradic
#CBC855 #55CB8D #5558CB #CB5593
square
#CBC855 #55CB8D #5558CB #CB5593
split-complementary
#CBC855 #5593CB #8D55CB
monochromatic
#7F7D27 #AEAB35 #CBC855 #D9D784 #E8E6B3

Accessibility & contrast

On white

1.76
#CBC855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#CBC855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC855
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC855#FFFFFF#000000##000000
##CBC8551.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C148
Deuteranopia (green-blind)
#D9C55B
Tritanopia (blue-blind)
#D8BCAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc855;
/* rgb */ color: rgb(203, 200, 85);
/* oklch */ color: oklch(81.3% 0.137 107.7);
Tailwind
colors: {
  custom: {
    50: '#ddd889',
    500: '#cbc855',
    950: '#000000',
  },
}
SCSS
$custom: #cbc855;
$custom-light: #ddd889;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc855",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 85
  },
  "hsl": {
    "h": 58.475,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81292,
    "c": 0.13669,
    "h": 107.7
  },
  "luminance": 0.54661
}

Semantic roles & 50–950 ramp

primary
#CBC855
secondary
#3E3F87
accent
#4FDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC855

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

Preview Lab → · Contrast checker → · Palette generator →

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