#CBB54A#CBB54A

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

Color values

HEX#CBB54A
RGBrgb(203, 181, 74)
HSLhsl(50, 55%, 54%)
HSVhsv(50, 64%, 80%)
CMYKcmyk(0%, 10.8%, 63.5%, 20.4%)
CIE-LABlab(73.70, -4.63, 55.75)
CIE-LCHlch(73.70, 55.94, 94.75°)
OKLaboklab(77.17% -0.0171 0.1271)
OKLCHoklch(77.17% 0.128 97.6)
XYZxyz(42.3903, 46.2406, 13.1697)
Luminance0.4624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB54A #4A60CB
analogous
#CB744A #CBB54A #A1CB4A
triadic
#CBB54A #4ACBB5 #B54ACB
tetradic
#CBB54A #4ACB74 #4A60CB #CB4AA1
square
#CBB54A #4ACB74 #4A60CB #CB4AA1
split-complementary
#CBB54A #4AA1CB #744ACB
monochromatic
#786923 #A89330 #CBB54A #D9C87A #E6DCA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBB54A#FFFFFF#000000##000000
##CBB54A1.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)
#C6B13E
Deuteranopia (green-blind)
#CCB84F
Tritanopia (blue-blind)
#DAA89E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cbb54a;
/* rgb */ color: rgb(203, 181, 74);
/* oklch */ color: oklch(77.2% 0.128 97.6);
Tailwind
colors: {
  custom: {
    50: '#deca81',
    500: '#cbb54a',
    950: '#000000',
  },
}
SCSS
$custom: #cbb54a;
$custom-light: #deca81;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb54a",
  "rgb": {
    "r": 203,
    "g": 181,
    "b": 74
  },
  "hsl": {
    "h": 49.767,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77173,
    "c": 0.1282,
    "h": 97.6
  },
  "luminance": 0.46239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBB54A

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

Preview Lab → · Contrast checker → · Palette generator →

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