#9F8114#9F8114

#9F8114 is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 61.4% C 0.120 H 91.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9F8114
RGBrgb(159, 129, 20)
HSLhsl(47, 78%, 35%)
HSVhsv(47, 87%, 62%)
CMYKcmyk(0%, 18.9%, 87.4%, 37.6%)
CIE-LABlab(55.20, 1.38, 56.54)
CIE-LCHlch(55.20, 56.56, 88.60°)
OKLaboklab(61.43% -0.0031 0.1203)
OKLCHoklch(61.43% 0.12 91.5)
XYZxyz(22.2760, 23.1234, 3.9517)
Luminance0.2312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8114 #14329F
analogous
#9F3B14 #9F8114 #789F14
triadic
#9F8114 #149F81 #81149F
tetradic
#9F8114 #149F3B #14329F #9F1478
square
#9F8114 #149F3B #14329F #9F1478
split-complementary
#9F8114 #14789F #3B149F
monochromatic
#322906 #69550D #9F8114 #D5AD1B #E8C546

Accessibility & contrast

On white

3.73
#9F8114 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#9F8114 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8114
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8114#FFFFFF#000000##000000
##9F81141.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#98881D
Tritanopia (blue-blind)
#AD756E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9f8114;
/* rgb */ color: rgb(159, 129, 20);
/* oklch */ color: oklch(61.4% 0.120 91.5);
Tailwind
colors: {
  custom: {
    50: '#c0a55f',
    500: '#9f8114',
    950: '#000000',
  },
}
SCSS
$custom: #9f8114;
$custom-light: #c0a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8114",
  "rgb": {
    "r": 159,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 47.05,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61435,
    "c": 0.12035,
    "h": 91.5
  },
  "luminance": 0.23122
}

Semantic roles & 50–950 ramp

primary
#9F8114
secondary
#4662C8
accent
#5DF434
background
#FCFAF5
surface
#F8F4EA
border
#D1CEC6
text
#130F05
muted
#827F79

Preview Lab

Preview with #9F8114

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

Preview Lab → · Contrast checker → · Palette generator →

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