#CBA03B#CBA03B

#CBA03B is a light, vivid orange. Relative luminance 0.382; OKLCH L 72.7% C 0.126 H 85.1°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#CBA03B
RGBrgb(203, 160, 59)
HSLhsl(42, 58%, 51%)
HSVhsv(42, 71%, 80%)
CMYKcmyk(0%, 21.2%, 70.9%, 20.4%)
CIE-LABlab(68.14, 5.66, 56.35)
CIE-LCHlch(68.14, 56.64, 84.27°)
OKLaboklab(72.74% 0.0107 0.1259)
OKLCHoklch(72.74% 0.126 85.1)
XYZxyz(37.9911, 38.1565, 9.5008)
Luminance0.3815 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA03B #3B66CB
analogous
#CB583B #CBA03B #AECB3B
triadic
#CBA03B #3BCBA0 #A03BCB
tetradic
#CBA03B #3BCB58 #3B66CB #CB3BAE
square
#CBA03B #3BCB58 #3B66CB #CB3BAE
split-complementary
#CBA03B #3BAECB #583BCB
monochromatic
#6E561D #9F7C2A #CBA03B #D8B76B #E5CF9C

Accessibility & contrast

On white

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

On black

8.63
#CBA03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA03B
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA03B#FFFFFF#000000##000000
##CBA03B1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A02D
Deuteranopia (green-blind)
#BEAB3F
Tritanopia (blue-blind)
#DC928B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cba03b;
/* rgb */ color: rgb(203, 160, 59);
/* oklch */ color: oklch(72.7% 0.126 85.1);
Tailwind
colors: {
  custom: {
    50: '#dfbb77',
    500: '#cba03b',
    950: '#000000',
  },
}
SCSS
$custom: #cba03b;
$custom-light: #dfbb77;
$custom-dark: #000000;
JSON
{
  "hex": "#cba03b",
  "rgb": {
    "r": 203,
    "g": 160,
    "b": 59
  },
  "hsl": {
    "h": 42.083,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.72742,
    "c": 0.12632,
    "h": 85.1
  },
  "luminance": 0.38154
}

Semantic roles & 50–950 ramp

primary
#CBA03B
secondary
#91A4D1
accent
#75E147
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161109
muted
#84807B

Preview Lab

Preview with #CBA03B

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

Preview Lab → · Contrast checker → · Palette generator →

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