#CBC93B#CBC93B

#CBC93B is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.3% C 0.157 H 108.6°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#CBC93B
RGBrgb(203, 201, 59)
HSLhsl(59, 58%, 51%)
HSVhsv(59, 71%, 80%)
CMYKcmyk(0%, 1%, 70.9%, 20.4%)
CIE-LABlab(78.92, -15.70, 67.04)
CIE-LCHlch(78.92, 68.86, 103.18°)
OKLaboklab(81.29% -0.05 0.1485)
OKLCHoklch(81.29% 0.157 108.6)
XYZxyz(46.3064, 54.7870, 12.2725)
Luminance0.5479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC93B #3B3DCB
analogous
#CB813B #CBC93B #85CB3B
triadic
#CBC93B #3BCBC9 #C93BCB
tetradic
#CBC93B #3BCB81 #3B3DCB #CB3B85
square
#CBC93B #3BCB81 #3B3DCB #CB3B85
split-complementary
#CBC93B #3B85CB #813BCB
monochromatic
#6E6D1D #9F9D2A #CBC93B #D8D66B #E5E49C

Accessibility & contrast

On white

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

On black

11.96
#CBC93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC93B
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC93B#FFFFFF#000000##000000
##CBC93B1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C121
Deuteranopia (green-blind)
#DCC646
Tritanopia (blue-blind)
#D9BCAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc93b;
/* rgb */ color: rgb(203, 201, 59);
/* oklch */ color: oklch(81.3% 0.157 108.6);
Tailwind
colors: {
  custom: {
    50: '#ded97a',
    500: '#cbc93b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc93b;
$custom-light: #ded97a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc93b",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 59
  },
  "hsl": {
    "h": 59.167,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81287,
    "c": 0.15668,
    "h": 108.6
  },
  "luminance": 0.54786
}

Semantic roles & 50–950 ramp

primary
#CBC93B
secondary
#333378
accent
#49E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC93B

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

Preview Lab → · Contrast checker → · Palette generator →

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