#CBA540#CBA540

#CBA540 is a light, vivid orange. Relative luminance 0.400; OKLCH L 73.8% C 0.125 H 88.0°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#CBA540
RGBrgb(203, 165, 64)
HSLhsl(44, 57%, 52%)
HSVhsv(44, 68%, 80%)
CMYKcmyk(0%, 18.7%, 68.5%, 20.4%)
CIE-LABlab(69.45, 3.24, 55.59)
CIE-LCHlch(69.45, 55.68, 86.66°)
OKLaboklab(73.79% 0.0044 0.1251)
OKLCHoklch(73.79% 0.125 88)
XYZxyz(39.0113, 39.9794, 10.5115)
Luminance0.3998 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA540 #4066CB
analogous
#CB5F40 #CBA540 #ACCB40
triadic
#CBA540 #40CBA5 #A540CB
tetradic
#CBA540 #40CB5F #4066CB #CB40AC
square
#CBA540 #40CB5F #4066CB #CB40AC
split-complementary
#CBA540 #40ACCB #5F40CB
monochromatic
#725B1F #A2822C #CBA540 #D8BC70 #E5D2A0

Accessibility & contrast

On white

2.33
#CBA540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#CBA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA540
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA540#FFFFFF#000000##000000
##CBA5401.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A433
Deuteranopia (green-blind)
#C1AE45
Tritanopia (blue-blind)
#DB9790
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cba540;
/* rgb */ color: rgb(203, 165, 64);
/* oklch */ color: oklch(73.8% 0.125 88.0);
Tailwind
colors: {
  custom: {
    50: '#dfbf7a',
    500: '#cba540',
    950: '#000000',
  },
}
SCSS
$custom: #cba540;
$custom-light: #dfbf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cba540",
  "rgb": {
    "r": 203,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 43.597,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.73793,
    "c": 0.12521,
    "h": 88
  },
  "luminance": 0.39977
}

Semantic roles & 50–950 ramp

primary
#CBA540
secondary
#95A6D2
accent
#71E047
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CBA540

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

Preview Lab → · Contrast checker → · Palette generator →

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