#8A9F1A#8A9F1A

#8A9F1A is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.3% C 0.148 H 119.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8A9F1A
RGBrgb(138, 159, 26)
HSLhsl(69, 72%, 36%)
HSVhsv(69, 84%, 62%)
CMYKcmyk(13.2%, 0%, 83.6%, 37.6%)
CIE-LABlab(61.89, -23.86, 59.89)
CIE-LCHlch(61.89, 64.47, 111.72°)
OKLaboklab(66.33% -0.0719 0.1298)
OKLCHoklch(66.33% 0.148 119)
XYZxyz(23.0664, 30.2743, 5.6055)
Luminance0.3027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9F1A #2F1A9F
analogous
#9F721A #8A9F1A #489F1A
triadic
#8A9F1A #1A8A9F #9F1A8A
tetradic
#8A9F1A #1A9F72 #2F1A9F #9F1A48
square
#8A9F1A #1A9F72 #2F1A9F #9F1A48
split-complementary
#8A9F1A #1A489F #721A9F
monochromatic
#2F3609 #5C6A11 #8A9F1A #B8D423 #CCE351

Accessibility & contrast

On white

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

On black

7.05
#8A9F1A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9F1A
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9F1A#FFFFFF#000000##000000
##8A9F1A1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#A89629
Tritanopia (blue-blind)
#939687
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a9f1a;
/* rgb */ color: rgb(138, 159, 26);
/* oklch */ color: oklch(66.3% 0.148 119.0);
Tailwind
colors: {
  custom: {
    50: '#b0bb65',
    500: '#8a9f1a',
    950: '#000000',
  },
}
SCSS
$custom: #8a9f1a;
$custom-light: #b0bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9f1a",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 26
  },
  "hsl": {
    "h": 69.474,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66334,
    "c": 0.14837,
    "h": 119
  },
  "luminance": 0.30274
}

Semantic roles & 50–950 ramp

primary
#8A9F1A
secondary
#6250C5
accent
#39EF56
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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