#CBA340#CBA340

#CBA340 is a light, vivid orange. Relative luminance 0.393; OKLCH L 73.4% C 0.124 H 86.6°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#CBA340
RGBrgb(203, 163, 64)
HSLhsl(43, 57%, 52%)
HSVhsv(43, 68%, 80%)
CMYKcmyk(0%, 19.7%, 68.5%, 20.4%)
CIE-LABlab(68.94, 4.31, 55.05)
CIE-LCHlch(68.94, 55.22, 85.52°)
OKLaboklab(73.39% 0.0075 0.124)
OKLCHoklch(73.39% 0.124 86.6)
XYZxyz(38.6534, 39.2635, 10.3922)
Luminance0.3926 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA340 #4068CB
analogous
#CB5E40 #CBA340 #ADCB40
triadic
#CBA340 #40CBA3 #A340CB
tetradic
#CBA340 #40CB5E #4068CB #CB40AD
square
#CBA340 #40CB5E #4068CB #CB40AD
split-complementary
#CBA340 #40ADCB #5E40CB
monochromatic
#725A1F #A2802C #CBA340 #D8BA70 #E5D1A0

Accessibility & contrast

On white

2.37
#CBA340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#CBA340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA340
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA340#FFFFFF#000000##000000
##CBA3401.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A234
Deuteranopia (green-blind)
#BFAD44
Tritanopia (blue-blind)
#DC958E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cba340;
/* rgb */ color: rgb(203, 163, 64);
/* oklch */ color: oklch(73.4% 0.124 86.6);
Tailwind
colors: {
  custom: {
    50: '#dfbe7a',
    500: '#cba340',
    950: '#000000',
  },
}
SCSS
$custom: #cba340;
$custom-light: #dfbe7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cba340",
  "rgb": {
    "r": 203,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 42.734,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.73389,
    "c": 0.12421,
    "h": 86.6
  },
  "luminance": 0.39261
}

Semantic roles & 50–950 ramp

primary
#CBA340
secondary
#95A7D2
accent
#73E047
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CBA340

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

Preview Lab → · Contrast checker → · Palette generator →

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