#8A9D1A#8A9D1A

#8A9D1A is a light, vivid yellow. Relative luminance 0.296; OKLCH L 65.9% C 0.146 H 118.3°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8A9D1A
RGBrgb(138, 157, 26)
HSLhsl(69, 72%, 36%)
HSVhsv(69, 83%, 62%)
CMYKcmyk(12.1%, 0%, 83.4%, 38.4%)
CIE-LABlab(61.30, -22.86, 59.38)
CIE-LCHlch(61.30, 63.63, 111.06°)
OKLaboklab(65.86% -0.0692 0.1287)
OKLCHoklch(65.86% 0.146 118.3)
XYZxyz(22.7252, 29.5920, 5.4917)
Luminance0.2959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9D1A #2D1A9D
analogous
#9D6E1A #8A9D1A #489D1A
triadic
#8A9D1A #1A8A9D #9D1A8A
tetradic
#8A9D1A #1A9D6E #2D1A9D #9D1A48
square
#8A9D1A #1A9D6E #2D1A9D #9D1A48
split-complementary
#8A9D1A #1A489D #6E1A9D
monochromatic
#2E3409 #5C6811 #8A9D1A #B8D223 #CDE24F

Accessibility & contrast

On white

3.04
#8A9D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#8A9D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9D1A
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9D1A#FFFFFF#000000##000000
##8A9D1A1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A69528
Tritanopia (blue-blind)
#939486
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a9d1a;
/* rgb */ color: rgb(138, 157, 26);
/* oklch */ color: oklch(65.9% 0.146 118.3);
Tailwind
colors: {
  custom: {
    50: '#b0b965',
    500: '#8a9d1a',
    950: '#000000',
  },
}
SCSS
$custom: #8a9d1a;
$custom-light: #b0b965;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9d1a",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 26
  },
  "hsl": {
    "h": 68.702,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65859,
    "c": 0.1461,
    "h": 118.3
  },
  "luminance": 0.29592
}

Semantic roles & 50–950 ramp

primary
#8A9D1A
secondary
#604EC4
accent
#39EE54
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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