#CBB53B#CBB53B

#CBB53B is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.0% C 0.139 H 98.8°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#CBB53B
RGBrgb(203, 181, 59)
HSLhsl(51, 58%, 51%)
HSVhsv(51, 71%, 80%)
CMYKcmyk(0%, 10.8%, 70.9%, 20.4%)
CIE-LABlab(73.59, -5.48, 61.83)
CIE-LCHlch(73.59, 62.07, 95.06°)
OKLaboklab(77.05% -0.0212 0.1375)
OKLCHoklch(77.05% 0.139 98.8)
XYZxyz(41.9439, 46.0621, 10.8184)
Luminance0.4606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB53B #3B51CB
analogous
#CB6D3B #CBB53B #99CB3B
triadic
#CBB53B #3BCBB5 #B53BCB
tetradic
#CBB53B #3BCB6D #3B51CB #CB3B99
square
#CBB53B #3BCB6D #3B51CB #CB3B99
split-complementary
#CBB53B #3B99CB #6D3BCB
monochromatic
#6E621D #9F8D2A #CBB53B #D8C76B #E5DA9C

Accessibility & contrast

On white

2.06
#CBB53B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#CBB53B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB53B
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB53B#FFFFFF#000000##000000
##CBB53B1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B028
Deuteranopia (green-blind)
#CCB842
Tritanopia (blue-blind)
#DBA89D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cbb53b;
/* rgb */ color: rgb(203, 181, 59);
/* oklch */ color: oklch(77.0% 0.139 98.8);
Tailwind
colors: {
  custom: {
    50: '#dfca78',
    500: '#cbb53b',
    950: '#000000',
  },
}
SCSS
$custom: #cbb53b;
$custom-light: #dfca78;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb53b",
  "rgb": {
    "r": 203,
    "g": 181,
    "b": 59
  },
  "hsl": {
    "h": 50.833,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77045,
    "c": 0.13907,
    "h": 98.8
  },
  "luminance": 0.4606
}

Semantic roles & 50–950 ramp

primary
#CBB53B
secondary
#919BD1
accent
#5EE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CBB53B

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

Preview Lab → · Contrast checker → · Palette generator →

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