#8A9925#8A9925

#8A9925 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.0% C 0.136 H 116.9°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8A9925
RGBrgb(138, 153, 37)
HSLhsl(68, 61%, 37%)
HSVhsv(68, 76%, 60%)
CMYKcmyk(9.8%, 0%, 75.8%, 40%)
CIE-LABlab(60.18, -20.39, 55.04)
CIE-LCHlch(60.18, 58.69, 110.33°)
OKLaboklab(64.97% -0.0615 0.1214)
OKLCHoklch(64.97% 0.136 116.9)
XYZxyz(22.2070, 28.3196, 6.0463)
Luminance0.2832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9925 #342599
analogous
#996E25 #8A9925 #509925
triadic
#8A9925 #258A99 #99258A
tetradic
#8A9925 #25996E #342599 #992550
square
#8A9925 #25996E #342599 #992550
split-complementary
#8A9925 #255099 #6E2599
monochromatic
#31360D #5E6819 #8A9925 #B6CA31 #C9D960

Accessibility & contrast

On white

3.15
#8A9925 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#8A9925 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9925
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9925#FFFFFF#000000##000000
##8A99251.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4910A
Deuteranopia (green-blind)
#A2922F
Tritanopia (blue-blind)
#939083
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9925;
/* rgb */ color: rgb(138, 153, 37);
/* oklch */ color: oklch(65.0% 0.136 116.9);
Tailwind
colors: {
  custom: {
    50: '#afb769',
    500: '#8a9925',
    950: '#000000',
  },
}
SCSS
$custom: #8a9925;
$custom-light: #afb769;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9925",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 37
  },
  "hsl": {
    "h": 67.759,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64972,
    "c": 0.13609,
    "h": 116.9
  },
  "luminance": 0.28319
}

Semantic roles & 50–950 ramp

primary
#8A9925
secondary
#695CBE
accent
#44E458
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9925

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

Preview Lab → · Contrast checker → · Palette generator →

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