#CBC33A#CBC33A

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

Color values

HEX#CBC33A
RGBrgb(203, 195, 58)
HSLhsl(57, 58%, 51%)
HSVhsv(57, 71%, 80%)
CMYKcmyk(0%, 3.9%, 71.4%, 20.4%)
CIE-LABlab(77.30, -12.72, 65.83)
CIE-LCHlch(77.30, 67.05, 100.94°)
OKLaboklab(80% -0.0418 0.1458)
OKLCHoklch(80% 0.152 106)
XYZxyz(44.9092, 52.0339, 11.6801)
Luminance0.5203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC33A #3A42CB
analogous
#CB7A3A #CBC33A #8ACB3A
triadic
#CBC33A #3ACBC3 #C33ACB
tetradic
#CBC33A #3ACB7A #3A42CB #CB3A8A
square
#CBC33A #3ACB7A #3A42CB #CB3A8A
split-complementary
#CBC33A #3A8ACB #7A3ACB
monochromatic
#6E691D #9E982A #CBC33A #D8D26A #E5E09B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC33A#FFFFFF#000000##000000
##CBC33A1.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)
#D4BC22
Deuteranopia (green-blind)
#D7C144
Tritanopia (blue-blind)
#DAB6A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc33a;
/* rgb */ color: rgb(203, 195, 58);
/* oklch */ color: oklch(80.0% 0.152 106.0);
Tailwind
colors: {
  custom: {
    50: '#dfd479',
    500: '#cbc33a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc33a;
$custom-light: #dfd479;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc33a",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 58
  },
  "hsl": {
    "h": 56.69,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79995,
    "c": 0.15162,
    "h": 106
  },
  "luminance": 0.52032
}

Semantic roles & 50–950 ramp

primary
#CBC33A
secondary
#323677
accent
#4FE146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC33A

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

Preview Lab → · Contrast checker → · Palette generator →

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