#CBC856#CBC856

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

Color values

HEX#CBC856
RGBrgb(203, 200, 86)
HSLhsl(58, 53%, 57%)
HSVhsv(58, 58%, 80%)
CMYKcmyk(0%, 1.5%, 57.6%, 20.4%)
CIE-LABlab(78.86, -13.57, 56.10)
CIE-LCHlch(78.86, 57.72, 103.60°)
OKLaboklab(81.3% -0.0412 0.1294)
OKLCHoklch(81.3% 0.136 107.7)
XYZxyz(46.9640, 54.6783, 16.8824)
Luminance0.5468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC856 #5659CB
analogous
#CB8E56 #CBC856 #93CB56
triadic
#CBC856 #56CBC8 #C856CB
tetradic
#CBC856 #56CB8E #5659CB #CB5693
square
#CBC856 #56CB8E #5659CB #CB5693
split-complementary
#CBC856 #5693CB #8E56CB
monochromatic
#7F7D27 #AEAB36 #CBC856 #D9D785 #E8E6B4

Accessibility & contrast

On white

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

On black

11.94
#CBC856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC856
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC856#FFFFFF#000000##000000
##CBC8561.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc856;
/* rgb */ color: rgb(203, 200, 86);
/* oklch */ color: oklch(81.3% 0.136 107.7);
Tailwind
colors: {
  custom: {
    50: '#ddd88a',
    500: '#cbc856',
    950: '#000000',
  },
}
SCSS
$custom: #cbc856;
$custom-light: #ddd88a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc856",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 58.462,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81303,
    "c": 0.13584,
    "h": 107.7
  },
  "luminance": 0.54677
}

Semantic roles & 50–950 ramp

primary
#CBC856
secondary
#3E4087
accent
#4FDC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC856

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

Preview Lab → · Contrast checker → · Palette generator →

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