#9D502F#9D502F

#9D502F is a mid, moderate orange. Relative luminance 0.131; OKLCH L 51.9% C 0.113 H 42.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9D502F
RGBrgb(157, 80, 47)
HSLhsl(18, 54%, 40%)
HSVhsv(18, 70%, 62%)
CMYKcmyk(0%, 49%, 70.1%, 38.4%)
CIE-LABlab(42.93, 29.27, 33.45)
CIE-LCHlch(42.93, 44.45, 48.81°)
OKLaboklab(51.9% 0.0825 0.0766)
OKLCHoklch(51.9% 0.113 42.9)
XYZxyz(17.2879, 13.1127, 4.3094)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D502F #2F7C9D
analogous
#9D2F45 #9D502F #9D872F
triadic
#9D502F #2F9D50 #502F9D
tetradic
#9D502F #459D2F #2F7C9D #872F9D
square
#9D502F #459D2F #2F7C9D #872F9D
split-complementary
#9D502F #2F9D87 #2F459D
monochromatic
#3F2013 #6E3821 #9D502F #C76A43 #D58F72

Accessibility & contrast

On white

5.80
#9D502F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9D502F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D502F
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D502F#FFFFFF#000000##FFFFFF
##9D502F1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655B2C
Deuteranopia (green-blind)
#786C2E
Tritanopia (blue-blind)
#AC4148
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d502f;
/* rgb */ color: rgb(157, 80, 47);
/* oklch */ color: oklch(51.9% 0.113 42.9);
Tailwind
colors: {
  custom: {
    50: '#bf8269',
    500: '#9d502f',
    950: '#000000',
  },
}
SCSS
$custom: #9d502f;
$custom-light: #bf8269;
$custom-dark: #000000;
JSON
{
  "hex": "#9d502f",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 47
  },
  "hsl": {
    "h": 18,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.51901,
    "c": 0.11256,
    "h": 42.9
  },
  "luminance": 0.13111
}

Semantic roles & 50–950 ramp

primary
#9D502F
secondary
#6BA4BC
accent
#B1DD4B
background
#FCF8F6
surface
#F8EFEB
border
#D1CAC6
text
#130A06
muted
#827C7A

Preview Lab

Preview with #9D502F

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

Preview Lab → · Contrast checker → · Palette generator →

#9D502F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva