#CBC33B#CBC33B

#CBC33B is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.0% C 0.151 H 106.0°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#CBC33B
RGBrgb(203, 195, 59)
HSLhsl(57, 58%, 51%)
HSVhsv(57, 71%, 80%)
CMYKcmyk(0%, 3.9%, 70.9%, 20.4%)
CIE-LABlab(77.31, -12.68, 65.48)
CIE-LCHlch(77.31, 66.70, 100.96°)
OKLaboklab(80% -0.0415 0.1452)
OKLCHoklch(80% 0.151 106)
XYZxyz(44.9349, 52.0441, 11.8154)
Luminance0.5204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC33B #3B43CB
analogous
#CB7B3B #CBC33B #8BCB3B
triadic
#CBC33B #3BCBC3 #C33BCB
tetradic
#CBC33B #3BCB7B #3B43CB #CB3B8B
square
#CBC33B #3BCB7B #3B43CB #CB3B8B
split-complementary
#CBC33B #3B8BCB #7B3BCB
monochromatic
#6E6A1D #9F982A #CBC33B #D8D26B #E5E19C

Accessibility & contrast

On white

1.84
#CBC33B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#CBC33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC33B
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC33B#FFFFFF#000000##000000
##CBC33B1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC24
Deuteranopia (green-blind)
#D7C145
Tritanopia (blue-blind)
#DAB6A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc33b;
/* rgb */ color: rgb(203, 195, 59);
/* oklch */ color: oklch(80.0% 0.151 106.0);
Tailwind
colors: {
  custom: {
    50: '#ded47a',
    500: '#cbc33b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc33b;
$custom-light: #ded47a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc33b",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 59
  },
  "hsl": {
    "h": 56.667,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.80002,
    "c": 0.15101,
    "h": 106
  },
  "luminance": 0.52042
}

Semantic roles & 50–950 ramp

primary
#CBC33B
secondary
#333678
accent
#4FE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC33B

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

Preview Lab → · Contrast checker → · Palette generator →

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