#9F8F1E#9F8F1E

#9F8F1E is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.5% C 0.126 H 100.7°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9F8F1E
RGBrgb(159, 143, 30)
HSLhsl(53, 68%, 37%)
HSVhsv(53, 81%, 62%)
CMYKcmyk(0%, 10.1%, 81.1%, 37.6%)
CIE-LABlab(59.08, -6.02, 56.98)
CIE-LCHlch(59.08, 57.30, 96.03°)
OKLaboklab(64.52% -0.0232 0.1234)
OKLCHoklch(64.52% 0.126 100.7)
XYZxyz(24.3561, 27.1108, 5.1780)
Luminance0.2711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8F1E #1E2E9F
analogous
#9F4F1E #9F8F1E #6F9F1E
triadic
#9F8F1E #1E9F8F #8F1E9F
tetradic
#9F8F1E #1E9F4F #1E2E9F #9F1E6F
square
#9F8F1E #1E9F4F #1E2E9F #9F1E6F
split-complementary
#9F8F1E #1E6F9F #4F1E9F
monochromatic
#38320B #6C6114 #9F8F1E #D2BD28 #DFCF58

Accessibility & contrast

On white

3.27
#9F8F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#9F8F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8F1E
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8F1E#FFFFFF#000000##000000
##9F8F1E1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B00
Deuteranopia (green-blind)
#A29127
Tritanopia (blue-blind)
#AC847A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9f8f1e;
/* rgb */ color: rgb(159, 143, 30);
/* oklch */ color: oklch(64.5% 0.126 100.7);
Tailwind
colors: {
  custom: {
    50: '#bfaf65',
    500: '#9f8f1e',
    950: '#000000',
  },
}
SCSS
$custom: #9f8f1e;
$custom-light: #bfaf65;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8f1e",
  "rgb": {
    "r": 159,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 52.558,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64518,
    "c": 0.12551,
    "h": 100.7
  },
  "luminance": 0.2711
}

Semantic roles & 50–950 ramp

primary
#9F8F1E
secondary
#5663C3
accent
#52EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F8F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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