#CBB54E#CBB54E

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

Color values

HEX#CBB54E
RGBrgb(203, 181, 78)
HSLhsl(49, 55%, 55%)
HSVhsv(49, 62%, 80%)
CMYKcmyk(0%, 10.8%, 61.6%, 20.4%)
CIE-LABlab(73.74, -4.37, 54.01)
CIE-LCHlch(73.74, 54.19, 94.62°)
OKLaboklab(77.21% -0.0158 0.1239)
OKLCHoklch(77.21% 0.125 97.3)
XYZxyz(42.5294, 46.2963, 13.9021)
Luminance0.4629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB54E #4E64CB
analogous
#CB764E #CBB54E #A2CB4E
triadic
#CBB54E #4ECBB5 #B54ECB
tetradic
#CBB54E #4ECB76 #4E64CB #CB4EA2
square
#CBB54E #4ECB76 #4E64CB #CB4EA2
split-complementary
#CBB54E #4EA2CB #764ECB
monochromatic
#7B6B24 #AA9532 #CBB54E #D9C97D #E7DDAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBB54E#FFFFFF#000000##000000
##CBB54E1.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)
#C6B143
Deuteranopia (green-blind)
#CBB853
Tritanopia (blue-blind)
#DAA99F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cbb54e;
/* rgb */ color: rgb(203, 181, 78);
/* oklch */ color: oklch(77.2% 0.125 97.3);
Tailwind
colors: {
  custom: {
    50: '#deca84',
    500: '#cbb54e',
    950: '#000000',
  },
}
SCSS
$custom: #cbb54e;
$custom-light: #deca84;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb54e",
  "rgb": {
    "r": 203,
    "g": 181,
    "b": 78
  },
  "hsl": {
    "h": 49.44,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77213,
    "c": 0.12494,
    "h": 97.3
  },
  "luminance": 0.46294
}

Semantic roles & 50–950 ramp

primary
#CBB54E
secondary
#A0A9D5
accent
#64DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CBB54E

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

Preview Lab → · Contrast checker → · Palette generator →

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