#CBB54F#CBB54F

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

Color values

HEX#CBB54F
RGBrgb(203, 181, 79)
HSLhsl(49, 54%, 55%)
HSVhsv(49, 61%, 80%)
CMYKcmyk(0%, 10.8%, 61.1%, 20.4%)
CIE-LABlab(73.75, -4.30, 53.57)
CIE-LCHlch(73.75, 53.74, 94.59°)
OKLaboklab(77.22% -0.0155 0.1231)
OKLCHoklch(77.22% 0.124 97.2)
XYZxyz(42.5655, 46.3107, 14.0924)
Luminance0.4631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB54F #4F65CB
analogous
#CB774F #CBB54F #A3CB4F
triadic
#CBB54F #4FCBB5 #B54FCB
tetradic
#CBB54F #4FCB77 #4F65CB #CB4FA3
square
#CBB54F #4FCB77 #4F65CB #CB4FA3
split-complementary
#CBB54F #4FA3CB #774FCB
monochromatic
#7B6C24 #AA9532 #CBB54F #D9C97E #E7DDAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBB54F#FFFFFF#000000##000000
##CBB54F1.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)
#C5B144
Deuteranopia (green-blind)
#CBB854
Tritanopia (blue-blind)
#DAA99F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cbb54f;
/* rgb */ color: rgb(203, 181, 79);
/* oklch */ color: oklch(77.2% 0.124 97.2);
Tailwind
colors: {
  custom: {
    50: '#deca84',
    500: '#cbb54f',
    950: '#000000',
  },
}
SCSS
$custom: #cbb54f;
$custom-light: #deca84;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb54f",
  "rgb": {
    "r": 203,
    "g": 181,
    "b": 79
  },
  "hsl": {
    "h": 49.355,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77224,
    "c": 0.12411,
    "h": 97.2
  },
  "luminance": 0.46309
}

Semantic roles & 50–950 ramp

primary
#CBB54F
secondary
#A1AAD5
accent
#64DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CBB54F

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

Preview Lab → · Contrast checker → · Palette generator →

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