#CBC42E#CBC42E

#CBC42E is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.1% C 0.159 H 106.7°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#CBC42E
RGBrgb(203, 196, 46)
HSLhsl(57, 63%, 49%)
HSVhsv(57, 77%, 80%)
CMYKcmyk(0%, 3.4%, 77.3%, 20.4%)
CIE-LABlab(77.50, -13.73, 70.00)
CIE-LCHlch(77.50, 71.33, 101.10°)
OKLaboklab(80.14% -0.0457 0.1524)
OKLCHoklch(80.14% 0.159 106.7)
XYZxyz(44.8635, 52.3753, 10.3305)
Luminance0.5237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC42E #2E35CB
analogous
#CB762E #CBC42E #84CB2E
triadic
#CBC42E #2ECBC4 #C42ECB
tetradic
#CBC42E #2ECB76 #2E35CB #CB2E84
square
#CBC42E #2ECB76 #2E35CB #CB2E84
split-complementary
#CBC42E #2E84CB #762ECB
monochromatic
#676417 #999423 #CBC42E #DAD45C #E5E18E

Accessibility & contrast

On white

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

On black

11.47
#CBC42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC42E
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC42E#FFFFFF#000000##000000
##CBC42E1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D8C23B
Tritanopia (blue-blind)
#DAB7A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc42e;
/* rgb */ color: rgb(203, 196, 46);
/* oklch */ color: oklch(80.1% 0.159 106.7);
Tailwind
colors: {
  custom: {
    50: '#dfd574',
    500: '#cbc42e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc42e;
$custom-light: #dfd574;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc42e",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 46
  },
  "hsl": {
    "h": 57.325,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80137,
    "c": 0.1591,
    "h": 106.7
  },
  "luminance": 0.52374
}

Semantic roles & 50–950 ramp

primary
#CBC42E
secondary
#2C2F71
accent
#49E642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CBC42E

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

Preview Lab → · Contrast checker → · Palette generator →

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