#CBA040#CBA040

#CBA040 is a light, vivid orange. Relative luminance 0.382; OKLCH L 72.8% C 0.123 H 84.3°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#CBA040
RGBrgb(203, 160, 64)
HSLhsl(41, 57%, 52%)
HSVhsv(41, 68%, 80%)
CMYKcmyk(0%, 21.2%, 68.5%, 20.4%)
CIE-LABlab(68.18, 5.93, 54.25)
CIE-LCHlch(68.18, 54.57, 83.77°)
OKLaboklab(72.79% 0.0121 0.1223)
OKLCHoklch(72.79% 0.123 84.3)
XYZxyz(38.1270, 38.2108, 10.2168)
Luminance0.3821 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA040 #406BCB
analogous
#CB5B40 #CBA040 #B1CB40
triadic
#CBA040 #40CBA0 #A040CB
tetradic
#CBA040 #40CB5B #406BCB #CB40B1
square
#CBA040 #40CB5B #406BCB #CB40B1
split-complementary
#CBA040 #40B1CB #5B40CB
monochromatic
#72581F #A27D2C #CBA040 #D8B870 #E5D0A0

Accessibility & contrast

On white

2.43
#CBA040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#CBA040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA040
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA040#FFFFFF#000000##000000
##CBA0401.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A034
Deuteranopia (green-blind)
#BDAB44
Tritanopia (blue-blind)
#DC928C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cba040;
/* rgb */ color: rgb(203, 160, 64);
/* oklch */ color: oklch(72.8% 0.123 84.3);
Tailwind
colors: {
  custom: {
    50: '#dfbb7a',
    500: '#cba040',
    950: '#000000',
  },
}
SCSS
$custom: #cba040;
$custom-light: #dfbb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cba040",
  "rgb": {
    "r": 203,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 41.439,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.72786,
    "c": 0.12289,
    "h": 84.3
  },
  "luminance": 0.38208
}

Semantic roles & 50–950 ramp

primary
#CBA040
secondary
#95A8D2
accent
#77E047
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #CBA040

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

Preview Lab → · Contrast checker → · Palette generator →

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