#8A9825#8A9825

#8A9825 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 64.7% C 0.135 H 116.5°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8A9825
RGBrgb(138, 152, 37)
HSLhsl(67, 61%, 37%)
HSVhsv(67, 76%, 60%)
CMYKcmyk(9.2%, 0%, 75.7%, 40.4%)
CIE-LABlab(59.88, -19.88, 54.76)
CIE-LCHlch(59.88, 58.26, 109.96°)
OKLaboklab(64.74% -0.0601 0.1208)
OKLCHoklch(64.74% 0.135 116.5)
XYZxyz(22.0440, 27.9936, 5.9920)
Luminance0.2799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9825 #332598
analogous
#986C25 #8A9825 #519825
triadic
#8A9825 #258A98 #98258A
tetradic
#8A9825 #25986C #332598 #982551
square
#8A9825 #25986C #332598 #982551
split-complementary
#8A9825 #255198 #6C2598
monochromatic
#31360D #5D6719 #8A9825 #B7C931 #C9D85F

Accessibility & contrast

On white

3.18
#8A9825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#8A9825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9825
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9825#FFFFFF#000000##000000
##8A98251.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3900B
Deuteranopia (green-blind)
#A2912F
Tritanopia (blue-blind)
#938F82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a9825;
/* rgb */ color: rgb(138, 152, 37);
/* oklch */ color: oklch(64.7% 0.135 116.5);
Tailwind
colors: {
  custom: {
    50: '#afb669',
    500: '#8a9825',
    950: '#000000',
  },
}
SCSS
$custom: #8a9825;
$custom-light: #afb669;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9825",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 37
  },
  "hsl": {
    "h": 67.304,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64736,
    "c": 0.13494,
    "h": 116.5
  },
  "luminance": 0.27993
}

Semantic roles & 50–950 ramp

primary
#8A9825
secondary
#675CBD
accent
#44E457
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9825

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

Preview Lab → · Contrast checker → · Palette generator →

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