#8B9F1F#8B9F1F

#8B9F1F is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.4% C 0.146 H 118.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8B9F1F
RGBrgb(139, 159, 31)
HSLhsl(69, 67%, 37%)
HSVhsv(69, 81%, 62%)
CMYKcmyk(12.6%, 0%, 80.5%, 37.6%)
CIE-LABlab(61.98, -23.24, 58.63)
CIE-LCHlch(61.98, 63.07, 111.62°)
OKLaboklab(66.44% -0.0699 0.1279)
OKLCHoklch(66.44% 0.146 118.7)
XYZxyz(23.2935, 30.3844, 5.9337)
Luminance0.3038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9F1F #331F9F
analogous
#9F731F #8B9F1F #4B9F1F
triadic
#8B9F1F #1F8B9F #9F1F8B
tetradic
#8B9F1F #1F9F73 #331F9F #9F1F4B
square
#8B9F1F #1F9F73 #331F9F #9F1F4B
split-complementary
#8B9F1F #1F4B9F #731F9F
monochromatic
#31390B #5E6C15 #8B9F1F #B8D229 #CADF5A

Accessibility & contrast

On white

2.97
#8B9F1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#8B9F1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8B9F1F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9F1F#FFFFFF#000000##000000
##8B9F1F1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A8962C
Tritanopia (blue-blind)
#949688
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8b9f1f;
/* rgb */ color: rgb(139, 159, 31);
/* oklch */ color: oklch(66.4% 0.146 118.7);
Tailwind
colors: {
  custom: {
    50: '#b0bb67',
    500: '#8b9f1f',
    950: '#000000',
  },
}
SCSS
$custom: #8b9f1f;
$custom-light: #b0bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9f1f",
  "rgb": {
    "r": 139,
    "g": 159,
    "b": 31
  },
  "hsl": {
    "h": 69.375,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66435,
    "c": 0.14577,
    "h": 118.7
  },
  "luminance": 0.30384
}

Semantic roles & 50–950 ramp

primary
#8B9F1F
secondary
#6857C3
accent
#3EEA59
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9F1F

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

Preview Lab → · Contrast checker → · Palette generator →

#8B9F1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva