#8A9D25#8A9D25

#8A9D25 is a light, vivid yellow. Relative luminance 0.297; OKLCH L 65.9% C 0.141 H 118.5°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8A9D25
RGBrgb(138, 157, 37)
HSLhsl(70, 62%, 38%)
HSVhsv(70, 76%, 62%)
CMYKcmyk(12.1%, 0%, 76.4%, 38.4%)
CIE-LABlab(61.35, -22.41, 56.14)
CIE-LCHlch(61.35, 60.45, 111.76°)
OKLaboklab(65.92% -0.0671 0.1237)
OKLCHoklch(65.92% 0.141 118.5)
XYZxyz(22.8726, 29.6510, 6.2682)
Luminance0.2965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9D25 #38259D
analogous
#9D7425 #8A9D25 #4E9D25
triadic
#8A9D25 #258A9D #9D258A
tetradic
#8A9D25 #259D74 #38259D #9D254E
square
#8A9D25 #259D74 #38259D #9D254E
split-complementary
#8A9D25 #254E9D #74259D
monochromatic
#333A0E #5E6B19 #8A9D25 #B5CE31 #C7DA62

Accessibility & contrast

On white

3.03
#8A9D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#8A9D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9D25
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9D25#FFFFFF#000000##000000
##8A9D251.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a9d25;
/* rgb */ color: rgb(138, 157, 37);
/* oklch */ color: oklch(65.9% 0.141 118.5);
Tailwind
colors: {
  custom: {
    50: '#afb969',
    500: '#8a9d25',
    950: '#000000',
  },
}
SCSS
$custom: #8a9d25;
$custom-light: #afb969;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9d25",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 37
  },
  "hsl": {
    "h": 69.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.65917,
    "c": 0.14075,
    "h": 118.5
  },
  "luminance": 0.29651
}

Semantic roles & 50–950 ramp

primary
#8A9D25
secondary
#6E5EBF
accent
#43E55D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9D25

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

Preview Lab → · Contrast checker → · Palette generator →

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