#CBC836#CBC836

#CBC836 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.0% C 0.159 H 108.3°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CBC836
RGBrgb(203, 200, 54)
HSLhsl(59, 59%, 50%)
HSVhsv(59, 73%, 80%)
CMYKcmyk(0%, 1.5%, 73.4%, 20.4%)
CIE-LABlab(78.62, -15.42, 68.48)
CIE-LCHlch(78.62, 70.19, 102.69°)
OKLaboklab(81.04% -0.0497 0.1506)
OKLCHoklch(81.04% 0.159 108.3)
XYZxyz(45.9505, 54.2729, 11.5445)
Luminance0.5427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC836 #3639CB
analogous
#CB7D36 #CBC836 #83CB36
triadic
#CBC836 #36CBC8 #C836CB
tetradic
#CBC836 #36CB7D #3639CB #CB3683
square
#CBC836 #36CB7D #3639CB #CB3683
split-complementary
#CBC836 #3683CB #7D36CB
monochromatic
#6B691C #9C9928 #CBC836 #D8D567 #E4E397

Accessibility & contrast

On white

1.77
#CBC836 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#CBC836 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC836
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC836#FFFFFF#000000##000000
##CBC8361.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C017
Deuteranopia (green-blind)
#DBC541
Tritanopia (blue-blind)
#DABBAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc836;
/* rgb */ color: rgb(203, 200, 54);
/* oklch */ color: oklch(81.0% 0.159 108.3);
Tailwind
colors: {
  custom: {
    50: '#dfd878',
    500: '#cbc836',
    950: '#000000',
  },
}
SCSS
$custom: #cbc836;
$custom-light: #dfd878;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc836",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 54
  },
  "hsl": {
    "h": 58.792,
    "s": 58.893,
    "l": 50.392
  },
  "oklch": {
    "l": 0.8104,
    "c": 0.15862,
    "h": 108.3
  },
  "luminance": 0.54271
}

Semantic roles & 50–950 ramp

primary
#CBC836
secondary
#313275
accent
#49E246
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC836

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

Preview Lab → · Contrast checker → · Palette generator →

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