#9F9D1E#9F9D1E

#9F9D1E is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.6% C 0.138 H 108.6°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9F9D1E
RGBrgb(159, 157, 30)
HSLhsl(59, 68%, 37%)
HSVhsv(59, 81%, 62%)
CMYKcmyk(0%, 1.3%, 81.1%, 37.6%)
CIE-LABlab(62.99, -13.48, 60.42)
CIE-LCHlch(62.99, 61.90, 102.57°)
OKLaboklab(67.64% -0.044 0.1308)
OKLCHoklch(67.64% 0.138 108.6)
XYZxyz(26.5905, 31.5795, 5.9228)
Luminance0.3158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9D1E #1E209F
analogous
#9F5D1E #9F9D1E #609F1E
triadic
#9F9D1E #1E9F9D #9D1E9F
tetradic
#9F9D1E #1E9F5D #1E209F #9F1E60
square
#9F9D1E #1E9F5D #1E209F #9F1E60
split-complementary
#9F9D1E #1E609F #5D1E9F
monochromatic
#38370B #6C6A14 #9F9D1E #D2D028 #DFDD58

Accessibility & contrast

On white

2.87
#9F9D1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#9F9D1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9D1E
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9D1E#FFFFFF#000000##000000
##9F9D1E1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AC9A2A
Tritanopia (blue-blind)
#AB9286
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9f9d1e;
/* rgb */ color: rgb(159, 157, 30);
/* oklch */ color: oklch(67.6% 0.138 108.6);
Tailwind
colors: {
  custom: {
    50: '#bfb967',
    500: '#9f9d1e',
    950: '#000000',
  },
}
SCSS
$custom: #9f9d1e;
$custom-light: #bfb967;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9d1e",
  "rgb": {
    "r": 159,
    "g": 157,
    "b": 30
  },
  "hsl": {
    "h": 59.07,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.67637,
    "c": 0.13797,
    "h": 108.6
  },
  "luminance": 0.31579
}

Semantic roles & 50–950 ramp

primary
#9F9D1E
secondary
#5657C3
accent
#3FEB3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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