#8A9C25#8A9C25

#8A9C25 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 65.7% C 0.140 H 118.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8A9C25
RGBrgb(138, 156, 37)
HSLhsl(69, 62%, 38%)
HSVhsv(69, 76%, 61%)
CMYKcmyk(11.5%, 0%, 76.3%, 38.8%)
CIE-LABlab(61.06, -21.91, 55.86)
CIE-LCHlch(61.06, 60.01, 111.41°)
OKLaboklab(65.68% -0.0657 0.1231)
OKLCHoklch(65.68% 0.14 118.1)
XYZxyz(22.7042, 29.3140, 6.2120)
Luminance0.2931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9C25 #37259C
analogous
#9C7325 #8A9C25 #4E9C25
triadic
#8A9C25 #258A9C #9C258A
tetradic
#8A9C25 #259C73 #37259C #9C254E
square
#8A9C25 #259C73 #37259C #9C254E
split-complementary
#8A9C25 #254E9C #73259C
monochromatic
#32390E #5E6B19 #8A9C25 #B6CD31 #C8DA62

Accessibility & contrast

On white

3.06
#8A9C25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#8A9C25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9C25
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9C25#FFFFFF#000000##000000
##8A9C251.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79308
Deuteranopia (green-blind)
#A59430
Tritanopia (blue-blind)
#939386
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9c25;
/* rgb */ color: rgb(138, 156, 37);
/* oklch */ color: oklch(65.7% 0.140 118.1);
Tailwind
colors: {
  custom: {
    50: '#afb969',
    500: '#8a9c25',
    950: '#000000',
  },
}
SCSS
$custom: #8a9c25;
$custom-light: #afb969;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9c25",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 37
  },
  "hsl": {
    "h": 69.076,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6568,
    "c": 0.13958,
    "h": 118.1
  },
  "luminance": 0.29314
}

Semantic roles & 50–950 ramp

primary
#8A9C25
secondary
#6D5EBF
accent
#43E55C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9C25

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

Preview Lab → · Contrast checker → · Palette generator →

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