#CBB53A#CBB53A

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

Color values

HEX#CBB53A
RGBrgb(203, 181, 58)
HSLhsl(51, 58%, 51%)
HSVhsv(51, 71%, 80%)
CMYKcmyk(0%, 10.8%, 71.4%, 20.4%)
CIE-LABlab(73.58, -5.53, 62.20)
CIE-LCHlch(73.58, 62.45, 95.08°)
OKLaboklab(77.04% -0.0214 0.1381)
OKLCHoklch(77.04% 0.14 98.8)
XYZxyz(41.9182, 46.0518, 10.6831)
Luminance0.4605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB53A #3A50CB
analogous
#CB6C3A #CBB53A #98CB3A
triadic
#CBB53A #3ACBB5 #B53ACB
tetradic
#CBB53A #3ACB6C #3A50CB #CB3A98
square
#CBB53A #3ACB6C #3A50CB #CB3A98
split-complementary
#CBB53A #3A98CB #6C3ACB
monochromatic
#6E611D #9E8C2A #CBB53A #D8C76A #E5D99B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBB53A#FFFFFF#000000##000000
##CBB53A1.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)
#C7B027
Deuteranopia (green-blind)
#CDB842
Tritanopia (blue-blind)
#DBA89D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cbb53a;
/* rgb */ color: rgb(203, 181, 58);
/* oklch */ color: oklch(77.0% 0.140 98.8);
Tailwind
colors: {
  custom: {
    50: '#dfca78',
    500: '#cbb53a',
    950: '#000000',
  },
}
SCSS
$custom: #cbb53a;
$custom-light: #dfca78;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb53a",
  "rgb": {
    "r": 203,
    "g": 181,
    "b": 58
  },
  "hsl": {
    "h": 50.897,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77037,
    "c": 0.13972,
    "h": 98.8
  },
  "luminance": 0.4605
}

Semantic roles & 50–950 ramp

primary
#CBB53A
secondary
#909AD0
accent
#5EE146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CBB53A

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

Preview Lab → · Contrast checker → · Palette generator →

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