#CBA151#CBA151

#CBA151 is a light, moderate orange. Relative luminance 0.388; OKLCH L 73.2% C 0.110 H 81.7°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#CBA151
RGBrgb(203, 161, 81)
HSLhsl(39, 54%, 56%)
HSVhsv(39, 60%, 80%)
CMYKcmyk(0%, 20.7%, 60.1%, 20.4%)
CIE-LABlab(68.59, 6.47, 46.81)
CIE-LCHlch(68.59, 47.26, 82.12°)
OKLaboklab(73.17% 0.0159 0.1089)
OKLCHoklch(73.17% 0.11 81.7)
XYZxyz(38.8607, 38.7828, 13.2220)
Luminance0.3878 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA151 #517BCB
analogous
#CB6451 #CBA151 #B8CB51
triadic
#CBA151 #51CBA1 #A151CB
tetradic
#CBA151 #51CB64 #517BCB #CB51B8
square
#CBA151 #51CB64 #517BCB #CB51B8
split-complementary
#CBA151 #51B8CB #6451CB
monochromatic
#7C5E25 #AC8233 #CBA151 #D9BA80 #E7D4AF

Accessibility & contrast

On white

2.40
#CBA151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#CBA151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA151
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA151#FFFFFF#000000##000000
##CBA1511.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A149
Deuteranopia (green-blind)
#BDAC54
Tritanopia (blue-blind)
#DB948F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cba151;
/* rgb */ color: rgb(203, 161, 81);
/* oklch */ color: oklch(73.2% 0.110 81.7);
Tailwind
colors: {
  custom: {
    50: '#debc84',
    500: '#cba151',
    950: '#000000',
  },
}
SCSS
$custom: #cba151;
$custom-light: #debc84;
$custom-dark: #000000;
JSON
{
  "hex": "#cba151",
  "rgb": {
    "r": 203,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 39.344,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.73167,
    "c": 0.11005,
    "h": 81.7
  },
  "luminance": 0.3878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBA151

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

Preview Lab → · Contrast checker → · Palette generator →

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