#CBC936#CBC936

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

Color values

HEX#CBC936
RGBrgb(203, 201, 54)
HSLhsl(59, 59%, 50%)
HSVhsv(59, 73%, 80%)
CMYKcmyk(0%, 1%, 73.4%, 20.4%)
CIE-LABlab(78.89, -15.93, 68.73)
CIE-LCHlch(78.89, 70.55, 103.05°)
OKLaboklab(81.26% -0.0511 0.1512)
OKLCHoklch(81.26% 0.16 108.7)
XYZxyz(46.1828, 54.7376, 11.6220)
Luminance0.5474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC936 #3638CB
analogous
#CB7F36 #CBC936 #82CB36
triadic
#CBC936 #36CBC9 #C936CB
tetradic
#CBC936 #36CB7F #3638CB #CB3682
square
#CBC936 #36CB7F #3638CB #CB3682
split-complementary
#CBC936 #3682CB #7F36CB
monochromatic
#6B6A1C #9C9A28 #CBC936 #D8D667 #E4E397

Accessibility & contrast

On white

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

On black

11.95
#CBC936 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC936
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC936#FFFFFF#000000##000000
##CBC9361.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC117
Deuteranopia (green-blind)
#DCC642
Tritanopia (blue-blind)
#DABCAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc936;
/* rgb */ color: rgb(203, 201, 54);
/* oklch */ color: oklch(81.3% 0.160 108.7);
Tailwind
colors: {
  custom: {
    50: '#dfd978',
    500: '#cbc936',
    950: '#000000',
  },
}
SCSS
$custom: #cbc936;
$custom-light: #dfd978;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc936",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 54
  },
  "hsl": {
    "h": 59.195,
    "s": 58.893,
    "l": 50.392
  },
  "oklch": {
    "l": 0.81255,
    "c": 0.15958,
    "h": 108.7
  },
  "luminance": 0.54736
}

Semantic roles & 50–950 ramp

primary
#CBC936
secondary
#313175
accent
#48E246
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC936

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

Preview Lab → · Contrast checker → · Palette generator →

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