#CBA158#CBA158

#CBA158 is a light, moderate orange. Relative luminance 0.389; OKLCH L 73.3% C 0.104 H 79.8°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#CBA158
RGBrgb(203, 161, 88)
HSLhsl(38, 53%, 57%)
HSVhsv(38, 57%, 80%)
CMYKcmyk(0%, 20.7%, 56.7%, 20.4%)
CIE-LABlab(68.67, 7.01, 43.44)
CIE-LCHlch(68.67, 44.01, 80.84°)
OKLaboklab(73.26% 0.0184 0.1024)
OKLCHoklch(73.26% 0.104 79.8)
XYZxyz(39.1368, 38.8932, 14.6764)
Luminance0.3889 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA158 #5882CB
analogous
#CB6858 #CBA158 #BBCB58
triadic
#CBA158 #58CBA1 #A158CB
tetradic
#CBA158 #58CB68 #5882CB #CB58BB
square
#CBA158 #58CB68 #5882CB #CB58BB
split-complementary
#CBA158 #58BBCB #6858CB
monochromatic
#816028 #AF8337 #CBA158 #DABB87 #E8D6B5

Accessibility & contrast

On white

2.39
#CBA158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#CBA158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA158
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA158#FFFFFF#000000##000000
##CBA1581.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A151
Deuteranopia (green-blind)
#BCAC5A
Tritanopia (blue-blind)
#DB9590
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cba158;
/* rgb */ color: rgb(203, 161, 88);
/* oklch */ color: oklch(73.3% 0.104 79.8);
Tailwind
colors: {
  custom: {
    50: '#debc89',
    500: '#cba158',
    950: '#000000',
  },
}
SCSS
$custom: #cba158;
$custom-light: #debc89;
$custom-dark: #000000;
JSON
{
  "hex": "#cba158",
  "rgb": {
    "r": 203,
    "g": 161,
    "b": 88
  },
  "hsl": {
    "h": 38.087,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.73256,
    "c": 0.104,
    "h": 79.8
  },
  "luminance": 0.38891
}

Semantic roles & 50–950 ramp

primary
#CBA158
secondary
#A8B9D7
accent
#80DC4C
background
#FEFBF8
surface
#FCF6F0
border
#D5D0CB
text
#15120C
muted
#84817D

Preview Lab

Preview with #CBA158

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

Preview Lab → · Contrast checker → · Palette generator →

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