#CBC43A#CBC43A

#CBC43A is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.2% C 0.153 H 106.5°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#CBC43A
RGBrgb(203, 196, 58)
HSLhsl(57, 58%, 51%)
HSVhsv(57, 71%, 80%)
CMYKcmyk(0%, 3.4%, 71.4%, 20.4%)
CIE-LABlab(77.57, -13.23, 66.09)
CIE-LCHlch(77.57, 67.40, 101.32°)
OKLaboklab(80.21% -0.0432 0.1463)
OKLCHoklch(80.21% 0.153 106.5)
XYZxyz(45.1340, 52.4835, 11.7550)
Luminance0.5248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC43A #3A41CB
analogous
#CB7B3A #CBC43A #89CB3A
triadic
#CBC43A #3ACBC4 #C43ACB
tetradic
#CBC43A #3ACB7B #3A41CB #CB3A89
square
#CBC43A #3ACB7B #3A41CB #CB3A89
split-complementary
#CBC43A #3A89CB #7B3ACB
monochromatic
#6E6A1D #9E982A #CBC43A #D8D26A #E5E19B

Accessibility & contrast

On white

1.83
#CBC43A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#CBC43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC43A
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC43A#FFFFFF#000000##000000
##CBC43A1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD22
Deuteranopia (green-blind)
#D8C244
Tritanopia (blue-blind)
#DAB7A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc43a;
/* rgb */ color: rgb(203, 196, 58);
/* oklch */ color: oklch(80.2% 0.153 106.5);
Tailwind
colors: {
  custom: {
    50: '#ded579',
    500: '#cbc43a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc43a;
$custom-light: #ded579;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc43a",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 58
  },
  "hsl": {
    "h": 57.103,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.80209,
    "c": 0.15254,
    "h": 106.5
  },
  "luminance": 0.52482
}

Semantic roles & 50–950 ramp

primary
#CBC43A
secondary
#323577
accent
#4EE146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC43A

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

Preview Lab → · Contrast checker → · Palette generator →

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