#CBAC51#CBAC51

#CBAC51 is a light, moderate orange. Relative luminance 0.428; OKLCH L 75.4% C 0.116 H 90.6°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#CBAC51
RGBrgb(203, 172, 81)
HSLhsl(45, 54%, 56%)
HSVhsv(45, 60%, 80%)
CMYKcmyk(0%, 15.3%, 60.1%, 20.4%)
CIE-LABlab(71.42, 0.59, 50.04)
CIE-LCHlch(71.42, 50.04, 89.33°)
OKLaboklab(75.39% -0.0012 0.1158)
OKLCHoklch(75.39% 0.116 90.6)
XYZxyz(40.8682, 42.7978, 13.8912)
Luminance0.4280 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAC51 #5170CB
analogous
#CB6F51 #CBAC51 #ADCB51
triadic
#CBAC51 #51CBAC #AC51CB
tetradic
#CBAC51 #51CB6F #5170CB #CB51AD
square
#CBAC51 #51CB6F #5170CB #CB51AD
split-complementary
#CBAC51 #51ADCB #6F51CB
monochromatic
#7C6625 #AC8D33 #CBAC51 #D9C280 #E7D9AF

Accessibility & contrast

On white

2.20
#CBAC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#CBAC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAC51
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAC51#FFFFFF#000000##000000
##CBAC511.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA48
Deuteranopia (green-blind)
#C5B355
Tritanopia (blue-blind)
#DAA098
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cbac51;
/* rgb */ color: rgb(203, 172, 81);
/* oklch */ color: oklch(75.4% 0.116 90.6);
Tailwind
colors: {
  custom: {
    50: '#dec485',
    500: '#cbac51',
    950: '#000000',
  },
}
SCSS
$custom: #cbac51;
$custom-light: #dec485;
$custom-dark: #000000;
JSON
{
  "hex": "#cbac51",
  "rgb": {
    "r": 203,
    "g": 172,
    "b": 81
  },
  "hsl": {
    "h": 44.754,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.75389,
    "c": 0.11584,
    "h": 90.6
  },
  "luminance": 0.42796
}

Semantic roles & 50–950 ramp

primary
#CBAC51
secondary
#A3AFD5
accent
#70DD4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15120B
muted
#84817C

Preview Lab

Preview with #CBAC51

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

Preview Lab → · Contrast checker → · Palette generator →

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