#CBAB51#CBAB51

#CBAB51 is a light, moderate orange. Relative luminance 0.424; OKLCH L 75.2% C 0.115 H 89.8°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#CBAB51
RGBrgb(203, 171, 81)
HSLhsl(44, 54%, 56%)
HSVhsv(44, 60%, 80%)
CMYKcmyk(0%, 15.8%, 60.1%, 20.4%)
CIE-LABlab(71.16, 1.12, 49.74)
CIE-LCHlch(71.16, 49.76, 88.71°)
OKLaboklab(75.19% 0.0004 0.1152)
OKLCHoklch(75.19% 0.115 89.8)
XYZxyz(40.6786, 42.4186, 13.8280)
Luminance0.4242 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAB51 #5171CB
analogous
#CB6E51 #CBAB51 #AECB51
triadic
#CBAB51 #51CBAB #AB51CB
tetradic
#CBAB51 #51CB6E #5171CB #CB51AE
square
#CBAB51 #51CB6E #5171CB #CB51AE
split-complementary
#CBAB51 #51AECB #6E51CB
monochromatic
#7C6625 #AC8C33 #CBAB51 #D9C280 #E7D8AF

Accessibility & contrast

On white

2.21
#CBAB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#CBAB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAB51
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAB51#FFFFFF#000000##000000
##CBAB511.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA948
Deuteranopia (green-blind)
#C4B255
Tritanopia (blue-blind)
#DA9F97
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cbab51;
/* rgb */ color: rgb(203, 171, 81);
/* oklch */ color: oklch(75.2% 0.115 89.8);
Tailwind
colors: {
  custom: {
    50: '#dec385',
    500: '#cbab51',
    950: '#000000',
  },
}
SCSS
$custom: #cbab51;
$custom-light: #dec385;
$custom-dark: #000000;
JSON
{
  "hex": "#cbab51",
  "rgb": {
    "r": 203,
    "g": 171,
    "b": 81
  },
  "hsl": {
    "h": 44.262,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.75185,
    "c": 0.1152,
    "h": 89.8
  },
  "luminance": 0.42416
}

Semantic roles & 50–950 ramp

primary
#CBAB51
secondary
#A3B0D5
accent
#71DD4A
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CBAB51

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

Preview Lab → · Contrast checker → · Palette generator →

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