#CBA038#CBA038

#CBA038 is a light, vivid orange. Relative luminance 0.381; OKLCH L 72.7% C 0.128 H 85.6°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#CBA038
RGBrgb(203, 160, 56)
HSLhsl(42, 59%, 51%)
HSVhsv(42, 72%, 80%)
CMYKcmyk(0%, 21.2%, 72.4%, 20.4%)
CIE-LABlab(68.11, 5.51, 57.57)
CIE-LCHlch(68.11, 57.84, 84.53°)
OKLaboklab(72.72% 0.01 0.1279)
OKLCHoklch(72.72% 0.128 85.6)
XYZxyz(37.9155, 38.1262, 9.1027)
Luminance0.3812 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA038 #3863CB
analogous
#CB5638 #CBA038 #ACCB38
triadic
#CBA038 #38CBA0 #A038CB
tetradic
#CBA038 #38CB56 #3863CB #CB38AC
square
#CBA038 #38CB56 #3863CB #CB38AC
split-complementary
#CBA038 #38ACCB #5638CB
monochromatic
#6C551C #9D7B29 #CBA038 #D8B769 #E4CE99

Accessibility & contrast

On white

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

On black

8.62
#CBA038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA038
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA038#FFFFFF#000000##000000
##CBA0381.002.438.628.62
#FFFFFF2.431.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cba038;
/* rgb */ color: rgb(203, 160, 56);
/* oklch */ color: oklch(72.7% 0.128 85.6);
Tailwind
colors: {
  custom: {
    50: '#dfbb75',
    500: '#cba038',
    950: '#000000',
  },
}
SCSS
$custom: #cba038;
$custom-light: #dfbb75;
$custom-dark: #000000;
JSON
{
  "hex": "#cba038",
  "rgb": {
    "r": 203,
    "g": 160,
    "b": 56
  },
  "hsl": {
    "h": 42.449,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72718,
    "c": 0.12827,
    "h": 85.6
  },
  "luminance": 0.38124
}

Semantic roles & 50–950 ramp

primary
#CBA038
secondary
#8FA2D0
accent
#74E246
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161109
muted
#84807B

Preview Lab

Preview with #CBA038

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

Preview Lab → · Contrast checker → · Palette generator →

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