#CBA840#CBA840

#CBA840 is a light, vivid orange. Relative luminance 0.411; OKLCH L 74.4% C 0.127 H 90.1°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#CBA840
RGBrgb(203, 168, 64)
HSLhsl(45, 57%, 52%)
HSVhsv(45, 68%, 80%)
CMYKcmyk(0%, 17.2%, 68.5%, 20.4%)
CIE-LABlab(70.23, 1.64, 56.39)
CIE-LCHlch(70.23, 56.42, 88.33°)
OKLaboklab(74.4% -0.0002 0.1268)
OKLCHoklch(74.4% 0.127 90.1)
XYZxyz(39.5588, 41.0743, 10.6940)
Luminance0.4107 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA840 #4063CB
analogous
#CB6240 #CBA840 #A9CB40
triadic
#CBA840 #40CBA8 #A840CB
tetradic
#CBA840 #40CB62 #4063CB #CB40A9
square
#CBA840 #40CB62 #4063CB #CB40A9
split-complementary
#CBA840 #40A9CB #6240CB
monochromatic
#725D1F #A2842C #CBA840 #D8BE70 #E5D4A0

Accessibility & contrast

On white

2.28
#CBA840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#CBA840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA840
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA840#FFFFFF#000000##000000
##CBA8401.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA633
Deuteranopia (green-blind)
#C3B045
Tritanopia (blue-blind)
#DB9A92
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cba840;
/* rgb */ color: rgb(203, 168, 64);
/* oklch */ color: oklch(74.4% 0.127 90.1);
Tailwind
colors: {
  custom: {
    50: '#dfc17a',
    500: '#cba840',
    950: '#000000',
  },
}
SCSS
$custom: #cba840;
$custom-light: #dfc17a;
$custom-dark: #000000;
JSON
{
  "hex": "#cba840",
  "rgb": {
    "r": 203,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 44.892,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74402,
    "c": 0.12684,
    "h": 90.1
  },
  "luminance": 0.41072
}

Semantic roles & 50–950 ramp

primary
#CBA840
secondary
#95A4D2
accent
#6EE047
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CBA840

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

Preview Lab → · Contrast checker → · Palette generator →

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