#CBA538#CBA538

#CBA538 is a light, vivid orange. Relative luminance 0.399; OKLCH L 73.7% C 0.131 H 89.0°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#CBA538
RGBrgb(203, 165, 56)
HSLhsl(44, 59%, 51%)
HSVhsv(44, 72%, 80%)
CMYKcmyk(0%, 18.7%, 72.4%, 20.4%)
CIE-LABlab(69.39, 2.83, 58.85)
CIE-LCHlch(69.39, 58.91, 87.25°)
OKLaboklab(73.73% 0.0022 0.1306)
OKLCHoklch(73.73% 0.131 89)
XYZxyz(38.7998, 39.8948, 9.3975)
Luminance0.3989 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA538 #385ECB
analogous
#CB5B38 #CBA538 #A7CB38
triadic
#CBA538 #38CBA5 #A538CB
tetradic
#CBA538 #38CB5B #385ECB #CB38A7
square
#CBA538 #38CB5B #385ECB #CB38A7
split-complementary
#CBA538 #38A7CB #5B38CB
monochromatic
#6C581C #9D7F29 #CBA538 #D8BB69 #E4D199

Accessibility & contrast

On white

2.34
#CBA538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#CBA538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA538
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA538#FFFFFF#000000##000000
##CBA5381.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A328
Deuteranopia (green-blind)
#C1AE3D
Tritanopia (blue-blind)
#DC978F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cba538;
/* rgb */ color: rgb(203, 165, 56);
/* oklch */ color: oklch(73.7% 0.131 89.0);
Tailwind
colors: {
  custom: {
    50: '#dfbf75',
    500: '#cba538',
    950: '#000000',
  },
}
SCSS
$custom: #cba538;
$custom-light: #dfbf75;
$custom-dark: #000000;
JSON
{
  "hex": "#cba538",
  "rgb": {
    "r": 203,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 44.49,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.73726,
    "c": 0.1306,
    "h": 89
  },
  "luminance": 0.39892
}

Semantic roles & 50–950 ramp

primary
#CBA538
secondary
#8FA0D0
accent
#6EE246
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CBA538

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

Preview Lab → · Contrast checker → · Palette generator →

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