#CBA251#CBA251

#CBA251 is a light, moderate orange. Relative luminance 0.391; OKLCH L 73.4% C 0.110 H 82.5°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#CBA251
RGBrgb(203, 162, 81)
HSLhsl(40, 54%, 56%)
HSVhsv(40, 60%, 80%)
CMYKcmyk(0%, 20.2%, 60.1%, 20.4%)
CIE-LABlab(68.85, 5.94, 47.10)
CIE-LCHlch(68.85, 47.48, 82.82°)
OKLaboklab(73.37% 0.0144 0.1095)
OKLCHoklch(73.37% 0.11 82.5)
XYZxyz(39.0361, 39.1337, 13.2805)
Luminance0.3913 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA251 #517ACB
analogous
#CB6551 #CBA251 #B7CB51
triadic
#CBA251 #51CBA2 #A251CB
tetradic
#CBA251 #51CB65 #517ACB #CB51B7
square
#CBA251 #51CB65 #517ACB #CB51B7
split-complementary
#CBA251 #51B7CB #6551CB
monochromatic
#7C5F25 #AC8333 #CBA251 #D9BB80 #E7D4AF

Accessibility & contrast

On white

2.38
#CBA251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#CBA251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA251
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA251#FFFFFF#000000##000000
##CBA2511.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A249
Deuteranopia (green-blind)
#BDAC54
Tritanopia (blue-blind)
#DB9590
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cba251;
/* rgb */ color: rgb(203, 162, 81);
/* oklch */ color: oklch(73.4% 0.110 82.5);
Tailwind
colors: {
  custom: {
    50: '#debd84',
    500: '#cba251',
    950: '#000000',
  },
}
SCSS
$custom: #cba251;
$custom-light: #debd84;
$custom-dark: #000000;
JSON
{
  "hex": "#cba251",
  "rgb": {
    "r": 203,
    "g": 162,
    "b": 81
  },
  "hsl": {
    "h": 39.836,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.73367,
    "c": 0.11046,
    "h": 82.5
  },
  "luminance": 0.39131
}

Semantic roles & 50–950 ramp

primary
#CBA251
secondary
#A3B4D5
accent
#7CDD4A
background
#FEFBF8
surface
#FCF6EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CBA251

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

Preview Lab → · Contrast checker → · Palette generator →

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