#9F7923#9F7923

#9F7923 is a mid, moderate orange. Relative luminance 0.212; OKLCH L 59.8% C 0.110 H 83.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9F7923
RGBrgb(159, 121, 35)
HSLhsl(42, 64%, 38%)
HSVhsv(42, 78%, 62%)
CMYKcmyk(0%, 23.9%, 78%, 37.6%)
CIE-LABlab(53.13, 6.38, 49.81)
CIE-LCHlch(53.13, 50.22, 82.70°)
OKLaboklab(59.83% 0.0126 0.109)
OKLCHoklch(59.83% 0.11 83.4)
XYZxyz(21.4402, 21.1686, 4.5465)
Luminance0.2117 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7923 #23499F
analogous
#9F3B23 #9F7923 #879F23
triadic
#9F7923 #239F79 #79239F
tetradic
#9F7923 #239F3B #23499F #9F2387
square
#9F7923 #239F3B #23499F #9F2387
split-complementary
#9F7923 #23879F #3B239F
monochromatic
#3B2D0D #6D5318 #9F7923 #D19F2E #DCB660

Accessibility & contrast

On white

4.01
#9F7923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9F7923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7923
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7923#FFFFFF#000000##000000
##9F79231.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897914
Deuteranopia (green-blind)
#928327
Tritanopia (blue-blind)
#AD6D68
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f7923;
/* rgb */ color: rgb(159, 121, 35);
/* oklch */ color: oklch(59.8% 0.110 83.4);
Tailwind
colors: {
  custom: {
    50: '#c09f65',
    500: '#9f7923',
    950: '#000000',
  },
}
SCSS
$custom: #9f7923;
$custom-light: #c09f65;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7923",
  "rgb": {
    "r": 159,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 41.613,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59834,
    "c": 0.10976,
    "h": 83.4
  },
  "luminance": 0.21167
}

Semantic roles & 50–950 ramp

primary
#9F7923
secondary
#5D7BC1
accent
#74E741
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9F7923

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

Preview Lab → · Contrast checker → · Palette generator →

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