#CBA638#CBA638

#CBA638 is a light, vivid orange. Relative luminance 0.403; OKLCH L 73.9% C 0.131 H 89.7°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#CBA638
RGBrgb(203, 166, 56)
HSLhsl(45, 59%, 51%)
HSVhsv(45, 72%, 80%)
CMYKcmyk(0%, 18.2%, 72.4%, 20.4%)
CIE-LABlab(69.65, 2.29, 59.10)
CIE-LCHlch(69.65, 59.15, 87.78°)
OKLaboklab(73.93% 0.0007 0.1311)
OKLCHoklch(73.93% 0.131 89.7)
XYZxyz(38.9808, 40.2569, 9.4578)
Luminance0.4025 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA638 #385DCB
analogous
#CB5C38 #CBA638 #A6CB38
triadic
#CBA638 #38CBA6 #A638CB
tetradic
#CBA638 #38CB5C #385DCB #CB38A6
square
#CBA638 #38CB5C #385DCB #CB38A6
split-complementary
#CBA638 #38A6CB #5C38CB
monochromatic
#6C581C #9D8029 #CBA638 #D8BC69 #E4D199

Accessibility & contrast

On white

2.32
#CBA638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#CBA638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA638
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA638#FFFFFF#000000##000000
##CBA6381.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A428
Deuteranopia (green-blind)
#C2AE3E
Tritanopia (blue-blind)
#DC9890
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cba638;
/* rgb */ color: rgb(203, 166, 56);
/* oklch */ color: oklch(73.9% 0.131 89.7);
Tailwind
colors: {
  custom: {
    50: '#dfc075',
    500: '#cba638',
    950: '#000000',
  },
}
SCSS
$custom: #cba638;
$custom-light: #dfc075;
$custom-dark: #000000;
JSON
{
  "hex": "#cba638",
  "rgb": {
    "r": 203,
    "g": 166,
    "b": 56
  },
  "hsl": {
    "h": 44.898,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.73929,
    "c": 0.13113,
    "h": 89.7
  },
  "luminance": 0.40254
}

Semantic roles & 50–950 ramp

primary
#CBA638
secondary
#8F9FD0
accent
#6DE246
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CBA638

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

Preview Lab → · Contrast checker → · Palette generator →

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