#8A9A25#8A9A25

#8A9A25 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.2% C 0.137 H 117.3°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8A9A25
RGBrgb(138, 154, 37)
HSLhsl(68, 61%, 37%)
HSVhsv(68, 76%, 60%)
CMYKcmyk(10.4%, 0%, 76%, 39.6%)
CIE-LABlab(60.47, -20.90, 55.31)
CIE-LCHlch(60.47, 59.13, 110.70°)
OKLaboklab(65.21% -0.0629 0.122)
OKLCHoklch(65.21% 0.137 117.3)
XYZxyz(22.3713, 28.6483, 6.1011)
Luminance0.2865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A25 #35259A
analogous
#9A6F25 #8A9A25 #509A25
triadic
#8A9A25 #258A9A #9A258A
tetradic
#8A9A25 #259A6F #35259A #9A2550
square
#8A9A25 #259A6F #35259A #9A2550
split-complementary
#8A9A25 #25509A #6F259A
monochromatic
#32370D #5E6919 #8A9A25 #B6CB31 #C8D960

Accessibility & contrast

On white

3.12
#8A9A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#8A9A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9A25
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9A25#FFFFFF#000000##000000
##8A9A251.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5910A
Deuteranopia (green-blind)
#A3922F
Tritanopia (blue-blind)
#939184
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9a25;
/* rgb */ color: rgb(138, 154, 37);
/* oklch */ color: oklch(65.2% 0.137 117.3);
Tailwind
colors: {
  custom: {
    50: '#afb769',
    500: '#8a9a25',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a25;
$custom-light: #afb769;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a25",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 37
  },
  "hsl": {
    "h": 68.205,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65208,
    "c": 0.13726,
    "h": 117.3
  },
  "luminance": 0.28648
}

Semantic roles & 50–950 ramp

primary
#8A9A25
secondary
#6A5DBE
accent
#43E459
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9A25

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

Preview Lab → · Contrast checker → · Palette generator →

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