#CBBD42#CBBD42

#CBBD42 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.8% C 0.141 H 102.8°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#CBBD42
RGBrgb(203, 189, 66)
HSLhsl(54, 57%, 53%)
HSVhsv(54, 67%, 80%)
CMYKcmyk(0%, 6.9%, 67.5%, 20.4%)
CIE-LABlab(75.75, -9.25, 61.26)
CIE-LCHlch(75.75, 61.95, 98.59°)
OKLaboklab(78.78% -0.0311 0.1375)
OKLCHoklch(78.78% 0.141 102.8)
XYZxyz(43.8114, 49.4868, 12.3974)
Luminance0.4949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBBD42 #4250CB
analogous
#CB7942 #CBBD42 #94CB42
triadic
#CBBD42 #42CBBD #BD42CB
tetradic
#CBBD42 #42CB79 #4250CB #CB4294
square
#CBBD42 #42CB79 #4250CB #CB4294
split-complementary
#CBBD42 #4294CB #7942CB
monochromatic
#736A20 #A3972D #CBBD42 #D8CE72 #E5DFA2

Accessibility & contrast

On white

1.93
#CBBD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#CBBD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBBD42
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBBD42#FFFFFF#000000##000000
##CBBD421.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB731
Deuteranopia (green-blind)
#D2BE4A
Tritanopia (blue-blind)
#DAB0A4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cbbd42;
/* rgb */ color: rgb(203, 189, 66);
/* oklch */ color: oklch(78.8% 0.141 102.8);
Tailwind
colors: {
  custom: {
    50: '#ded07d',
    500: '#cbbd42',
    950: '#000000',
  },
}
SCSS
$custom: #cbbd42;
$custom-light: #ded07d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbbd42",
  "rgb": {
    "r": 203,
    "g": 189,
    "b": 66
  },
  "hsl": {
    "h": 53.869,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78781,
    "c": 0.14094,
    "h": 102.8
  },
  "luminance": 0.49485
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBBD42

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

Preview Lab → · Contrast checker → · Palette generator →

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