#8A9E25#8A9E25

#8A9E25 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.2% C 0.142 H 118.8°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8A9E25
RGBrgb(138, 158, 37)
HSLhsl(70, 62%, 38%)
HSVhsv(70, 77%, 62%)
CMYKcmyk(12.7%, 0%, 76.6%, 38%)
CIE-LABlab(61.65, -22.91, 56.42)
CIE-LCHlch(61.65, 60.89, 112.10°)
OKLaboklab(66.15% -0.0685 0.1243)
OKLCHoklch(66.15% 0.142 118.8)
XYZxyz(23.0425, 29.9907, 6.3248)
Luminance0.2999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9E25 #39259E
analogous
#9E7525 #8A9E25 #4E9E25
triadic
#8A9E25 #258A9E #9E258A
tetradic
#8A9E25 #259E75 #39259E #9E254E
square
#8A9E25 #259E75 #39259E #9E254E
split-complementary
#8A9E25 #254E9E #75259E
monochromatic
#333B0E #5F6C19 #8A9E25 #B5CF31 #C7DA63

Accessibility & contrast

On white

3.00
#8A9E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#8A9E25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9E25
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9E25#FFFFFF#000000##000000
##8A9E251.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99507
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#929587
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a9e25;
/* rgb */ color: rgb(138, 158, 37);
/* oklch */ color: oklch(66.2% 0.142 118.8);
Tailwind
colors: {
  custom: {
    50: '#afba6a',
    500: '#8a9e25',
    950: '#000000',
  },
}
SCSS
$custom: #8a9e25;
$custom-light: #afba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9e25",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 37
  },
  "hsl": {
    "h": 69.917,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66154,
    "c": 0.14192,
    "h": 118.8
  },
  "luminance": 0.29991
}

Semantic roles & 50–950 ramp

primary
#8A9E25
secondary
#6F5FC0
accent
#43E55E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9E25

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

Preview Lab → · Contrast checker → · Palette generator →

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