#CBC32E#CBC32E

#CBC32E is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.9% C 0.158 H 106.2°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#CBC32E
RGBrgb(203, 195, 46)
HSLhsl(57, 63%, 49%)
HSVhsv(57, 77%, 80%)
CMYKcmyk(0%, 3.9%, 77.3%, 20.4%)
CIE-LABlab(77.24, -13.23, 69.75)
CIE-LCHlch(77.24, 71.00, 100.74°)
OKLaboklab(79.92% -0.0443 0.1519)
OKLCHoklch(79.92% 0.158 106.2)
XYZxyz(44.6387, 51.9257, 10.2555)
Luminance0.5192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC32E #2E36CB
analogous
#CB752E #CBC32E #85CB2E
triadic
#CBC32E #2ECBC3 #C32ECB
tetradic
#CBC32E #2ECB75 #2E36CB #CB2E85
square
#CBC32E #2ECB75 #2E36CB #CB2E85
split-complementary
#CBC32E #2E85CB #752ECB
monochromatic
#676317 #999323 #CBC32E #DAD45C #E5E18E

Accessibility & contrast

On white

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

On black

11.38
#CBC32E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC32E
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC32E#FFFFFF#000000##000000
##CBC32E1.001.8411.3811.38
#FFFFFF1.841.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC01
Deuteranopia (green-blind)
#D7C13A
Tritanopia (blue-blind)
#DAB6A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc32e;
/* rgb */ color: rgb(203, 195, 46);
/* oklch */ color: oklch(79.9% 0.158 106.2);
Tailwind
colors: {
  custom: {
    50: '#dfd474',
    500: '#cbc32e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc32e;
$custom-light: #dfd474;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc32e",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 46
  },
  "hsl": {
    "h": 56.943,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79923,
    "c": 0.15821,
    "h": 106.2
  },
  "luminance": 0.51924
}

Semantic roles & 50–950 ramp

primary
#CBC32E
secondary
#2C2F71
accent
#4AE642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CBC32E

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

Preview Lab → · Contrast checker → · Palette generator →

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