#CBB54B#CBB54B

#CBB54B is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.2% C 0.127 H 97.6°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#CBB54B
RGBrgb(203, 181, 75)
HSLhsl(50, 55%, 55%)
HSVhsv(50, 63%, 80%)
CMYKcmyk(0%, 10.8%, 63.1%, 20.4%)
CIE-LABlab(73.71, -4.57, 55.32)
CIE-LCHlch(73.71, 55.51, 94.72°)
OKLaboklab(77.18% -0.0168 0.1263)
OKLCHoklch(77.18% 0.127 97.6)
XYZxyz(42.4243, 46.2542, 13.3486)
Luminance0.4625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB54B #4B61CB
analogous
#CB754B #CBB54B #A1CB4B
triadic
#CBB54B #4BCBB5 #B54BCB
tetradic
#CBB54B #4BCB75 #4B61CB #CB4BA1
square
#CBB54B #4BCB75 #4B61CB #CB4BA1
split-complementary
#CBB54B #4BA1CB #754BCB
monochromatic
#796A23 #A89431 #CBB54B #D9C97A #E6DCAA

Accessibility & contrast

On white

2.05
#CBB54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#CBB54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB54B
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB54B#FFFFFF#000000##000000
##CBB54B1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13F
Deuteranopia (green-blind)
#CCB850
Tritanopia (blue-blind)
#DAA89E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cbb54b;
/* rgb */ color: rgb(203, 181, 75);
/* oklch */ color: oklch(77.2% 0.127 97.6);
Tailwind
colors: {
  custom: {
    50: '#deca82',
    500: '#cbb54b',
    950: '#000000',
  },
}
SCSS
$custom: #cbb54b;
$custom-light: #deca82;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb54b",
  "rgb": {
    "r": 203,
    "g": 181,
    "b": 75
  },
  "hsl": {
    "h": 49.688,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77183,
    "c": 0.1274,
    "h": 97.6
  },
  "luminance": 0.46252
}

Semantic roles & 50–950 ramp

primary
#CBB54B
secondary
#9EA7D4
accent
#63DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CBB54B

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

Preview Lab → · Contrast checker → · Palette generator →

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