#CBBB3A#CBBB3A

#CBBB3A is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.3% C 0.145 H 102.1°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#CBBB3A
RGBrgb(203, 187, 58)
HSLhsl(53, 58%, 51%)
HSVhsv(53, 71%, 80%)
CMYKcmyk(0%, 7.9%, 71.4%, 20.4%)
CIE-LABlab(75.17, -8.64, 63.76)
CIE-LCHlch(75.17, 64.34, 97.71°)
OKLaboklab(78.3% -0.0302 0.1414)
OKLCHoklch(78.3% 0.145 102.1)
XYZxyz(43.1646, 48.5445, 11.0985)
Luminance0.4854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBBB3A #3A4ACB
analogous
#CB723A #CBBB3A #92CB3A
triadic
#CBBB3A #3ACBBB #BB3ACB
tetradic
#CBBB3A #3ACB72 #3A4ACB #CB3A92
square
#CBBB3A #3ACB72 #3A4ACB #CB3A92
split-complementary
#CBBB3A #3A92CB #723ACB
monochromatic
#6E651D #9E912A #CBBB3A #D8CC6A #E5DC9B

Accessibility & contrast

On white

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

On black

10.71
#CBBB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBBB3A
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBBB3A#FFFFFF#000000##000000
##CBBB3A1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbbb3a;
/* rgb */ color: rgb(203, 187, 58);
/* oklch */ color: oklch(78.3% 0.145 102.1);
Tailwind
colors: {
  custom: {
    50: '#dfcf78',
    500: '#cbbb3a',
    950: '#000000',
  },
}
SCSS
$custom: #cbbb3a;
$custom-light: #dfcf78;
$custom-dark: #000000;
JSON
{
  "hex": "#cbbb3a",
  "rgb": {
    "r": 203,
    "g": 187,
    "b": 58
  },
  "hsl": {
    "h": 53.379,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78298,
    "c": 0.14456,
    "h": 102.1
  },
  "luminance": 0.48543
}

Semantic roles & 50–950 ramp

primary
#CBBB3A
secondary
#9097D0
accent
#57E146
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CBBB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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