#CBAE54#CBAE54

#CBAE54 is a light, moderate yellow. Relative luminance 0.436; OKLCH L 75.8% C 0.115 H 91.6°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#CBAE54
RGBrgb(203, 174, 84)
HSLhsl(45, 53%, 56%)
HSVhsv(45, 59%, 80%)
CMYKcmyk(0%, 14.3%, 58.6%, 20.4%)
CIE-LABlab(71.97, -0.26, 49.24)
CIE-LCHlch(71.97, 49.24, 90.30°)
OKLaboklab(75.83% -0.0033 0.1145)
OKLCHoklch(75.83% 0.115 91.6)
XYZxyz(41.3667, 43.6108, 14.6246)
Luminance0.4361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAE54 #5471CB
analogous
#CB7354 #CBAE54 #ADCB54
triadic
#CBAE54 #54CBAE #AE54CB
tetradic
#CBAE54 #54CB73 #5471CB #CB54AD
square
#CBAE54 #54CB73 #5471CB #CB54AD
split-complementary
#CBAE54 #54ADCB #7354CB
monochromatic
#7E6926 #AD9035 #CBAE54 #D9C483 #E8DAB2

Accessibility & contrast

On white

2.16
#CBAE54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#CBAE54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAE54
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAE54#FFFFFF#000000##000000
##CBAE541.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC4B
Deuteranopia (green-blind)
#C6B458
Tritanopia (blue-blind)
#DAA29A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cbae54;
/* rgb */ color: rgb(203, 174, 84);
/* oklch */ color: oklch(75.8% 0.115 91.6);
Tailwind
colors: {
  custom: {
    50: '#dec587',
    500: '#cbae54',
    950: '#000000',
  },
}
SCSS
$custom: #cbae54;
$custom-light: #dec587;
$custom-dark: #000000;
JSON
{
  "hex": "#cbae54",
  "rgb": {
    "r": 203,
    "g": 174,
    "b": 84
  },
  "hsl": {
    "h": 45.378,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.75833,
    "c": 0.11455,
    "h": 91.6
  },
  "luminance": 0.43609
}

Semantic roles & 50–950 ramp

primary
#CBAE54
secondary
#A5B1D6
accent
#6FDD4B
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15120B
muted
#83817C

Preview Lab

Preview with #CBAE54

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

Preview Lab → · Contrast checker → · Palette generator →

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