#CBA342#CBA342

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

Color values

HEX#CBA342
RGBrgb(203, 163, 66)
HSLhsl(42, 57%, 53%)
HSVhsv(42, 67%, 80%)
CMYKcmyk(0%, 19.7%, 67.5%, 20.4%)
CIE-LABlab(68.96, 4.43, 54.19)
CIE-LCHlch(68.96, 54.37, 85.33°)
OKLaboklab(73.41% 0.008 0.1225)
OKLCHoklch(73.41% 0.123 86.2)
XYZxyz(38.7113, 39.2867, 10.6973)
Luminance0.3928 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA342 #426ACB
analogous
#CB5F42 #CBA342 #AECB42
triadic
#CBA342 #42CBA3 #A342CB
tetradic
#CBA342 #42CB5F #426ACB #CB42AE
square
#CBA342 #42CB5F #426ACB #CB42AE
split-complementary
#CBA342 #42AECB #5F42CB
monochromatic
#735B20 #A3802D #CBA342 #D8BA72 #E5D2A2

Accessibility & contrast

On white

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

On black

8.86
#CBA342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA342
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA342#FFFFFF#000000##000000
##CBA3421.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A236
Deuteranopia (green-blind)
#BFAD46
Tritanopia (blue-blind)
#DB958F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cba342;
/* rgb */ color: rgb(203, 163, 66);
/* oklch */ color: oklch(73.4% 0.123 86.2);
Tailwind
colors: {
  custom: {
    50: '#dfbe7b',
    500: '#cba342',
    950: '#000000',
  },
}
SCSS
$custom: #cba342;
$custom-light: #dfbe7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cba342",
  "rgb": {
    "r": 203,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 42.482,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.73407,
    "c": 0.12277,
    "h": 86.2
  },
  "luminance": 0.39284
}

Semantic roles & 50–950 ramp

primary
#CBA342
secondary
#97A8D2
accent
#74E048
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CBA342

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

Preview Lab → · Contrast checker → · Palette generator →

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