#9F7D14#9F7D14

#9F7D14 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.6% C 0.118 H 88.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9F7D14
RGBrgb(159, 125, 20)
HSLhsl(45, 78%, 35%)
HSVhsv(45, 87%, 62%)
CMYKcmyk(0%, 21.4%, 87.4%, 37.6%)
CIE-LABlab(54.12, 3.62, 55.66)
CIE-LCHlch(54.12, 55.78, 86.28°)
OKLaboklab(60.59% 0.0032 0.1184)
OKLCHoklch(60.59% 0.118 88.4)
XYZxyz(21.7594, 22.0902, 3.7795)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7D14 #14369F
analogous
#9F3814 #9F7D14 #7B9F14
triadic
#9F7D14 #149F7D #7D149F
tetradic
#9F7D14 #149F38 #14369F #9F147B
square
#9F7D14 #149F38 #14369F #9F147B
split-complementary
#9F7D14 #147B9F #38149F
monochromatic
#322806 #69520D #9F7D14 #D5A81B #E8C046

Accessibility & contrast

On white

3.88
#9F7D14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#9F7D14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7D14
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7D14#FFFFFF#000000##000000
##9F7D141.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#95851C
Tritanopia (blue-blind)
#AD716A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9f7d14;
/* rgb */ color: rgb(159, 125, 20);
/* oklch */ color: oklch(60.6% 0.118 88.4);
Tailwind
colors: {
  custom: {
    50: '#c0a25e',
    500: '#9f7d14',
    950: '#000000',
  },
}
SCSS
$custom: #9f7d14;
$custom-light: #c0a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7d14",
  "rgb": {
    "r": 159,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 45.324,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60587,
    "c": 0.11839,
    "h": 88.4
  },
  "luminance": 0.22089
}

Semantic roles & 50–950 ramp

primary
#9F7D14
secondary
#4666C8
accent
#63F434
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130F05
muted
#827E79

Preview Lab

Preview with #9F7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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