#CBC53B#CBC53B

#CBC53B is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.4% C 0.153 H 106.9°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#CBC53B
RGBrgb(203, 197, 59)
HSLhsl(58, 58%, 51%)
HSVhsv(58, 71%, 80%)
CMYKcmyk(0%, 3%, 70.9%, 20.4%)
CIE-LABlab(77.84, -13.69, 66.00)
CIE-LCHlch(77.84, 67.41, 101.72°)
OKLaboklab(80.43% -0.0444 0.1463)
OKLCHoklch(80.43% 0.153 106.9)
XYZxyz(45.3860, 52.9464, 11.9658)
Luminance0.5294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC53B #3B41CB
analogous
#CB7D3B #CBC53B #89CB3B
triadic
#CBC53B #3BCBC5 #C53BCB
tetradic
#CBC53B #3BCB7D #3B41CB #CB3B89
square
#CBC53B #3BCB7D #3B41CB #CB3B89
split-complementary
#CBC53B #3B89CB #7D3BCB
monochromatic
#6E6B1D #9F9A2A #CBC53B #D8D36B #E5E29C

Accessibility & contrast

On white

1.81
#CBC53B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#CBC53B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC53B
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC53B#FFFFFF#000000##000000
##CBC53B1.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD23
Deuteranopia (green-blind)
#D8C345
Tritanopia (blue-blind)
#DAB8AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc53b;
/* rgb */ color: rgb(203, 197, 59);
/* oklch */ color: oklch(80.4% 0.153 106.9);
Tailwind
colors: {
  custom: {
    50: '#ded67a',
    500: '#cbc53b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc53b;
$custom-light: #ded67a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc53b",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 59
  },
  "hsl": {
    "h": 57.5,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.80429,
    "c": 0.15287,
    "h": 106.9
  },
  "luminance": 0.52945
}

Semantic roles & 50–950 ramp

primary
#CBC53B
secondary
#333578
accent
#4DE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC53B

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

Preview Lab → · Contrast checker → · Palette generator →

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