#CBBB42#CBBB42

#CBBB42 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.4% C 0.139 H 101.7°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#CBBB42
RGBrgb(203, 187, 66)
HSLhsl(53, 57%, 53%)
HSVhsv(53, 67%, 80%)
CMYKcmyk(0%, 7.9%, 67.5%, 20.4%)
CIE-LABlab(75.22, -8.22, 60.72)
CIE-LCHlch(75.22, 61.27, 97.71°)
OKLaboklab(78.36% -0.0282 0.1363)
OKLCHoklch(78.36% 0.139 101.7)
XYZxyz(43.3841, 48.6323, 12.2550)
Luminance0.4863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBBB42 #4252CB
analogous
#CB7742 #CBBB42 #96CB42
triadic
#CBBB42 #42CBBB #BB42CB
tetradic
#CBBB42 #42CB77 #4252CB #CB4296
square
#CBBB42 #42CB77 #4252CB #CB4296
split-complementary
#CBBB42 #4296CB #7742CB
monochromatic
#736920 #A3952D #CBBB42 #D8CC72 #E5DEA2

Accessibility & contrast

On white

1.96
#CBBB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#CBBB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBBB42
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBBB42#FFFFFF#000000##000000
##CBBB421.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB531
Deuteranopia (green-blind)
#D1BC49
Tritanopia (blue-blind)
#DAAEA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cbbb42;
/* rgb */ color: rgb(203, 187, 66);
/* oklch */ color: oklch(78.4% 0.139 101.7);
Tailwind
colors: {
  custom: {
    50: '#decf7d',
    500: '#cbbb42',
    950: '#000000',
  },
}
SCSS
$custom: #cbbb42;
$custom-light: #decf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbbb42",
  "rgb": {
    "r": 203,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 52.993,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78359,
    "c": 0.13921,
    "h": 101.7
  },
  "luminance": 0.48631
}

Semantic roles & 50–950 ramp

primary
#CBBB42
secondary
#979ED2
accent
#59E048
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBBB42

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

Preview Lab → · Contrast checker → · Palette generator →

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