#CBB54D#CBB54D

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

Color values

HEX#CBB54D
RGBrgb(203, 181, 77)
HSLhsl(50, 55%, 55%)
HSVhsv(50, 62%, 80%)
CMYKcmyk(0%, 10.8%, 62.1%, 20.4%)
CIE-LABlab(73.73, -4.43, 54.45)
CIE-LCHlch(73.73, 54.63, 94.66°)
OKLaboklab(77.2% -0.0161 0.1247)
OKLCHoklch(77.2% 0.126 97.4)
XYZxyz(42.4938, 46.2820, 13.7148)
Luminance0.4628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB54D #4D63CB
analogous
#CB764D #CBB54D #A2CB4D
triadic
#CBB54D #4DCBB5 #B54DCB
tetradic
#CBB54D #4DCB76 #4D63CB #CB4DA2
square
#CBB54D #4DCB76 #4D63CB #CB4DA2
split-complementary
#CBB54D #4DA2CB #764DCB
monochromatic
#7A6B24 #A99431 #CBB54D #D9C97C #E7DCAC

Accessibility & contrast

On white

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

On black

10.26
#CBB54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB54D
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB54D#FFFFFF#000000##000000
##CBB54D1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B141
Deuteranopia (green-blind)
#CBB852
Tritanopia (blue-blind)
#DAA99F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cbb54d;
/* rgb */ color: rgb(203, 181, 77);
/* oklch */ color: oklch(77.2% 0.126 97.4);
Tailwind
colors: {
  custom: {
    50: '#deca83',
    500: '#cbb54d',
    950: '#000000',
  },
}
SCSS
$custom: #cbb54d;
$custom-light: #deca83;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb54d",
  "rgb": {
    "r": 203,
    "g": 181,
    "b": 77
  },
  "hsl": {
    "h": 49.524,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77203,
    "c": 0.12577,
    "h": 97.4
  },
  "luminance": 0.4628
}

Semantic roles & 50–950 ramp

primary
#CBB54D
secondary
#9FA9D4
accent
#64DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CBB54D

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

Preview Lab → · Contrast checker → · Palette generator →

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