#8A9B1A#8A9B1A

#8A9B1A is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.4% C 0.144 H 117.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8A9B1A
RGBrgb(138, 155, 26)
HSLhsl(68, 71%, 35%)
HSVhsv(68, 83%, 61%)
CMYKcmyk(11%, 0%, 83.2%, 39.2%)
CIE-LABlab(60.71, -21.86, 58.87)
CIE-LCHlch(60.71, 62.80, 110.37°)
OKLaboklab(65.39% -0.0664 0.1276)
OKLCHoklch(65.39% 0.144 117.5)
XYZxyz(22.3896, 28.9208, 5.3799)
Luminance0.2892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B1A #2B1A9B
analogous
#9B6B1A #8A9B1A #499B1A
triadic
#8A9B1A #1A8A9B #9B1A8A
tetradic
#8A9B1A #1A9B6B #2B1A9B #9B1A49
square
#8A9B1A #1A9B6B #2B1A9B #9B1A49
split-complementary
#8A9B1A #1A499B #6B1A9B
monochromatic
#2D3208 #5B6711 #8A9B1A #B9CF23 #CEE14E

Accessibility & contrast

On white

3.10
#8A9B1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#8A9B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B1A
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B1A#FFFFFF#000000##000000
##8A9B1A1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A49328
Tritanopia (blue-blind)
#939284
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9b1a;
/* rgb */ color: rgb(138, 155, 26);
/* oklch */ color: oklch(65.4% 0.144 117.5);
Tailwind
colors: {
  custom: {
    50: '#b0b865',
    500: '#8a9b1a',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b1a;
$custom-light: #b0b865;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b1a",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 26
  },
  "hsl": {
    "h": 67.907,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.65385,
    "c": 0.14385,
    "h": 117.5
  },
  "luminance": 0.28921
}

Semantic roles & 50–950 ramp

primary
#8A9B1A
secondary
#5D4DC4
accent
#3AEE52
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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