#CBBC42#CBBC42

#CBBC42 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.6% C 0.140 H 102.2°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#CBBC42
RGBrgb(203, 188, 66)
HSLhsl(53, 57%, 53%)
HSVhsv(53, 67%, 80%)
CMYKcmyk(0%, 7.4%, 67.5%, 20.4%)
CIE-LABlab(75.49, -8.74, 60.99)
CIE-LCHlch(75.49, 61.61, 98.15°)
OKLaboklab(78.57% -0.0297 0.1369)
OKLCHoklch(78.57% 0.14 102.2)
XYZxyz(43.5970, 49.0581, 12.3259)
Luminance0.4906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBBC42 #4251CB
analogous
#CB7842 #CBBC42 #95CB42
triadic
#CBBC42 #42CBBC #BC42CB
tetradic
#CBBC42 #42CB78 #4251CB #CB4295
square
#CBBC42 #42CB78 #4251CB #CB4295
split-complementary
#CBBC42 #4295CB #7842CB
monochromatic
#736A20 #A3962D #CBBC42 #D8CD72 #E5DEA2

Accessibility & contrast

On white

1.94
#CBBC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#CBBC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBBC42
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBBC42#FFFFFF#000000##000000
##CBBC421.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB631
Deuteranopia (green-blind)
#D1BD49
Tritanopia (blue-blind)
#DAAFA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cbbc42;
/* rgb */ color: rgb(203, 188, 66);
/* oklch */ color: oklch(78.6% 0.140 102.2);
Tailwind
colors: {
  custom: {
    50: '#decf7d',
    500: '#cbbc42',
    950: '#000000',
  },
}
SCSS
$custom: #cbbc42;
$custom-light: #decf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbbc42",
  "rgb": {
    "r": 203,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 53.431,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.7857,
    "c": 0.14007,
    "h": 102.2
  },
  "luminance": 0.49056
}

Semantic roles & 50–950 ramp

primary
#CBBC42
secondary
#979DD2
accent
#58E048
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBBC42

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

Preview Lab → · Contrast checker → · Palette generator →

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