#CBAE52#CBAE52

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

Color values

HEX#CBAE52
RGBrgb(203, 174, 82)
HSLhsl(46, 54%, 56%)
HSVhsv(46, 60%, 80%)
CMYKcmyk(0%, 14.3%, 59.6%, 20.4%)
CIE-LABlab(71.95, -0.40, 50.17)
CIE-LCHlch(71.95, 50.17, 90.46°)
OKLaboklab(75.81% -0.0039 0.1162)
OKLCHoklch(75.81% 0.116 91.9)
XYZxyz(41.2895, 43.5799, 14.2179)
Luminance0.4358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAE52 #526FCB
analogous
#CB7152 #CBAE52 #ABCB52
triadic
#CBAE52 #52CBAE #AE52CB
tetradic
#CBAE52 #52CB71 #526FCB #CB52AB
square
#CBAE52 #52CB71 #526FCB #CB52AB
split-complementary
#CBAE52 #52ABCB #7152CB
monochromatic
#7D6826 #AC8F34 #CBAE52 #D9C481 #E7DAB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBAE52#FFFFFF#000000##000000
##CBAE521.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)
#BFAB49
Deuteranopia (green-blind)
#C6B456
Tritanopia (blue-blind)
#DAA29A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cbae52;
/* rgb */ color: rgb(203, 174, 82);
/* oklch */ color: oklch(75.8% 0.116 91.9);
Tailwind
colors: {
  custom: {
    50: '#dec586',
    500: '#cbae52',
    950: '#000000',
  },
}
SCSS
$custom: #cbae52;
$custom-light: #dec586;
$custom-dark: #000000;
JSON
{
  "hex": "#cbae52",
  "rgb": {
    "r": 203,
    "g": 174,
    "b": 82
  },
  "hsl": {
    "h": 45.62,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.7581,
    "c": 0.11631,
    "h": 91.9
  },
  "luminance": 0.43578
}

Semantic roles & 50–950 ramp

primary
#CBAE52
secondary
#A3AFD5
accent
#6EDD4B
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15120B
muted
#84817C

Preview Lab

Preview with #CBAE52

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

Preview Lab → · Contrast checker → · Palette generator →

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