#CBBB40#CBBB40

#CBBB40 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.3% C 0.141 H 101.8°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#CBBB40
RGBrgb(203, 187, 64)
HSLhsl(53, 57%, 52%)
HSVhsv(53, 68%, 80%)
CMYKcmyk(0%, 7.9%, 68.5%, 20.4%)
CIE-LABlab(75.21, -8.33, 61.50)
CIE-LCHlch(75.21, 62.06, 97.71°)
OKLaboklab(78.34% -0.0287 0.1376)
OKLCHoklch(78.34% 0.141 101.8)
XYZxyz(43.3262, 48.6092, 11.9498)
Luminance0.4861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBBB40 #4050CB
analogous
#CB7640 #CBBB40 #95CB40
triadic
#CBBB40 #40CBBB #BB40CB
tetradic
#CBBB40 #40CB76 #4050CB #CB4095
square
#CBBB40 #40CB76 #4050CB #CB4095
split-complementary
#CBBB40 #4095CB #7640CB
monochromatic
#72681F #A2942C #CBBB40 #D8CC70 #E5DDA0

Accessibility & contrast

On white

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

On black

10.72
#CBBB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBBB40
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBBB40#FFFFFF#000000##000000
##CBBB401.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbbb40;
/* rgb */ color: rgb(203, 187, 64);
/* oklch */ color: oklch(78.3% 0.141 101.8);
Tailwind
colors: {
  custom: {
    50: '#decf7c',
    500: '#cbbb40',
    950: '#000000',
  },
}
SCSS
$custom: #cbbb40;
$custom-light: #decf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbbb40",
  "rgb": {
    "r": 203,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 53.094,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78343,
    "c": 0.1406,
    "h": 101.8
  },
  "luminance": 0.48607
}

Semantic roles & 50–950 ramp

primary
#CBBB40
secondary
#959CD2
accent
#59E047
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBBB40

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

Preview Lab → · Contrast checker → · Palette generator →

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