#9F8B1E#9F8B1E

#9F8B1E is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.6% C 0.122 H 98.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9F8B1E
RGBrgb(159, 139, 30)
HSLhsl(51, 68%, 37%)
HSVhsv(51, 81%, 62%)
CMYKcmyk(0%, 12.6%, 81.1%, 37.6%)
CIE-LABlab(57.97, -3.84, 56.01)
CIE-LCHlch(57.97, 56.14, 93.93°)
OKLaboklab(63.64% -0.0171 0.1213)
OKLCHoklch(63.64% 0.122 98)
XYZxyz(23.7663, 25.9312, 4.9814)
Luminance0.2593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8B1E #1E329F
analogous
#9F4B1E #9F8B1E #729F1E
triadic
#9F8B1E #1E9F8B #8B1E9F
tetradic
#9F8B1E #1E9F4B #1E329F #9F1E72
square
#9F8B1E #1E9F4B #1E329F #9F1E72
split-complementary
#9F8B1E #1E729F #4B1E9F
monochromatic
#38310B #6C5E14 #9F8B1E #D2B828 #DFCA58

Accessibility & contrast

On white

3.39
#9F8B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#9F8B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8B1E
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8B1E#FFFFFF#000000##000000
##9F8B1E1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9F8E26
Tritanopia (blue-blind)
#AC8077
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9f8b1e;
/* rgb */ color: rgb(159, 139, 30);
/* oklch */ color: oklch(63.6% 0.122 98.0);
Tailwind
colors: {
  custom: {
    50: '#bfac64',
    500: '#9f8b1e',
    950: '#000000',
  },
}
SCSS
$custom: #9f8b1e;
$custom-light: #bfac64;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8b1e",
  "rgb": {
    "r": 159,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 50.698,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63641,
    "c": 0.12244,
    "h": 98
  },
  "luminance": 0.2593
}

Semantic roles & 50–950 ramp

primary
#9F8B1E
secondary
#5667C3
accent
#58EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F8B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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