#9F9E1E#9F9E1E

#9F9E1E is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.9% C 0.139 H 109.1°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#9F9E1E
RGBrgb(159, 158, 30)
HSLhsl(60, 68%, 37%)
HSVhsv(60, 81%, 62%)
CMYKcmyk(0%, 0.6%, 81.1%, 37.6%)
CIE-LABlab(63.28, -14.00, 60.66)
CIE-LCHlch(63.28, 62.26, 102.99°)
OKLaboklab(67.86% -0.0455 0.1313)
OKLCHoklch(67.86% 0.139 109.1)
XYZxyz(26.7603, 31.9192, 5.9794)
Luminance0.3192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9E1E #1E1F9F
analogous
#9F5E1E #9F9E1E #609F1E
triadic
#9F9E1E #1E9F9E #9E1E9F
tetradic
#9F9E1E #1E9F5E #1E1F9F #9F1E60
square
#9F9E1E #1E9F5E #1E1F9F #9F1E60
split-complementary
#9F9E1E #1E609F #5E1E9F
monochromatic
#38380B #6C6B14 #9F9E1E #D2D128 #DFDE58

Accessibility & contrast

On white

2.84
#9F9E1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#9F9E1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9E1E
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9E1E#FFFFFF#000000##000000
##9F9E1E1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AD9B2A
Tritanopia (blue-blind)
#AB9387
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9f9e1e;
/* rgb */ color: rgb(159, 158, 30);
/* oklch */ color: oklch(67.9% 0.139 109.1);
Tailwind
colors: {
  custom: {
    50: '#bfba67',
    500: '#9f9e1e',
    950: '#000000',
  },
}
SCSS
$custom: #9f9e1e;
$custom-light: #bfba67;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9e1e",
  "rgb": {
    "r": 159,
    "g": 158,
    "b": 30
  },
  "hsl": {
    "h": 59.535,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.67862,
    "c": 0.13894,
    "h": 109.1
  },
  "luminance": 0.31918
}

Semantic roles & 50–950 ramp

primary
#9F9E1E
secondary
#5656C3
accent
#3EEB3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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