#8A9F1E#8A9F1E

#8A9F1E is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.4% C 0.147 H 119.1°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8A9F1E
RGBrgb(138, 159, 30)
HSLhsl(70, 68%, 37%)
HSVhsv(70, 81%, 62%)
CMYKcmyk(13.2%, 0%, 81.1%, 37.6%)
CIE-LABlab(61.91, -23.71, 58.82)
CIE-LCHlch(61.91, 63.42, 111.95°)
OKLaboklab(66.35% -0.0712 0.1282)
OKLCHoklch(66.35% 0.147 119.1)
XYZxyz(23.1142, 30.2934, 5.8576)
Luminance0.3029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9F1E #331E9F
analogous
#9F731E #8A9F1E #4A9F1E
triadic
#8A9F1E #1E8A9F #9F1E8A
tetradic
#8A9F1E #1E9F73 #331E9F #9F1E4A
square
#8A9F1E #1E9F73 #331E9F #9F1E4A
split-complementary
#8A9F1E #1E4A9F #731E9F
monochromatic
#31380B #5D6C14 #8A9F1E #B7D228 #C9DF58

Accessibility & contrast

On white

2.98
#8A9F1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#8A9F1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9F1E
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9F1E#FFFFFF#000000##000000
##8A9F1E1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a9f1e;
/* rgb */ color: rgb(138, 159, 30);
/* oklch */ color: oklch(66.4% 0.147 119.1);
Tailwind
colors: {
  custom: {
    50: '#b0bb67',
    500: '#8a9f1e',
    950: '#000000',
  },
}
SCSS
$custom: #8a9f1e;
$custom-light: #b0bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9f1e",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 30
  },
  "hsl": {
    "h": 69.767,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.66353,
    "c": 0.14664,
    "h": 119.1
  },
  "luminance": 0.30293
}

Semantic roles & 50–950 ramp

primary
#8A9F1E
secondary
#6756C3
accent
#3DEB59
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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