#9F8014#9F8014

#9F8014 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.2% C 0.120 H 90.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9F8014
RGBrgb(159, 128, 20)
HSLhsl(47, 78%, 35%)
HSVhsv(47, 87%, 62%)
CMYKcmyk(0%, 19.5%, 87.4%, 37.6%)
CIE-LABlab(54.93, 1.94, 56.32)
CIE-LCHlch(54.93, 56.35, 88.03°)
OKLaboklab(61.22% -0.0015 0.1198)
OKLCHoklch(61.22% 0.12 90.7)
XYZxyz(22.1449, 22.8613, 3.9080)
Luminance0.2286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8014 #14339F
analogous
#9F3B14 #9F8014 #789F14
triadic
#9F8014 #149F80 #80149F
tetradic
#9F8014 #149F3B #14339F #9F1478
square
#9F8014 #149F3B #14339F #9F1478
split-complementary
#9F8014 #14789F #3B149F
monochromatic
#322806 #69540D #9F8014 #D5AC1B #E8C446

Accessibility & contrast

On white

3.77
#9F8014 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#9F8014 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8014
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8014#FFFFFF#000000##000000
##9F80141.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#97871D
Tritanopia (blue-blind)
#AD746D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9f8014;
/* rgb */ color: rgb(159, 128, 20);
/* oklch */ color: oklch(61.2% 0.120 90.7);
Tailwind
colors: {
  custom: {
    50: '#c0a45f',
    500: '#9f8014',
    950: '#000000',
  },
}
SCSS
$custom: #9f8014;
$custom-light: #c0a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8014",
  "rgb": {
    "r": 159,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 46.619,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61222,
    "c": 0.11983,
    "h": 90.7
  },
  "luminance": 0.2286
}

Semantic roles & 50–950 ramp

primary
#9F8014
secondary
#4663C8
accent
#5FF434
background
#FCFAF5
surface
#F8F3EA
border
#D1CDC6
text
#130F05
muted
#827F79

Preview Lab

Preview with #9F8014

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

Preview Lab → · Contrast checker → · Palette generator →

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