#CBB54C#CBB54C

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

Color values

HEX#CBB54C
RGBrgb(203, 181, 76)
HSLhsl(50, 55%, 55%)
HSVhsv(50, 63%, 80%)
CMYKcmyk(0%, 10.8%, 62.6%, 20.4%)
CIE-LABlab(73.72, -4.50, 54.88)
CIE-LCHlch(73.72, 55.07, 94.69°)
OKLaboklab(77.19% -0.0165 0.1255)
OKLCHoklch(77.19% 0.127 97.5)
XYZxyz(42.4588, 46.2680, 13.5302)
Luminance0.4627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB54C #4C62CB
analogous
#CB754C #CBB54C #A2CB4C
triadic
#CBB54C #4CCBB5 #B54CCB
tetradic
#CBB54C #4CCB75 #4C62CB #CB4CA2
square
#CBB54C #4CCB75 #4C62CB #CB4CA2
split-complementary
#CBB54C #4CA2CB #754CCB
monochromatic
#796A23 #A99431 #CBB54C #D9C97B #E7DCAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBB54C#FFFFFF#000000##000000
##CBB54C1.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)
#C6B140
Deuteranopia (green-blind)
#CCB851
Tritanopia (blue-blind)
#DAA89E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cbb54c;
/* rgb */ color: rgb(203, 181, 76);
/* oklch */ color: oklch(77.2% 0.127 97.5);
Tailwind
colors: {
  custom: {
    50: '#deca82',
    500: '#cbb54c',
    950: '#000000',
  },
}
SCSS
$custom: #cbb54c;
$custom-light: #deca82;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb54c",
  "rgb": {
    "r": 203,
    "g": 181,
    "b": 76
  },
  "hsl": {
    "h": 49.606,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77193,
    "c": 0.12658,
    "h": 97.5
  },
  "luminance": 0.46266
}

Semantic roles & 50–950 ramp

primary
#CBB54C
secondary
#9FA8D4
accent
#63DE49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CBB54C

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

Preview Lab → · Contrast checker → · Palette generator →

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