#8A8A25#8A8A25

#8A8A25 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.5% C 0.119 H 109.5°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8A8A25
RGBrgb(138, 138, 37)
HSLhsl(60, 58%, 34%)
HSVhsv(60, 73%, 54%)
CMYKcmyk(0%, 0%, 73.2%, 45.9%)
CIE-LABlab(55.80, -12.57, 50.87)
CIE-LCHlch(55.80, 52.40, 103.88°)
OKLaboklab(61.47% -0.0398 0.1126)
OKLCHoklch(61.47% 0.119 109.5)
XYZxyz(19.9044, 23.7144, 5.2787)
Luminance0.2371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A25 #25258A
analogous
#8A5825 #8A8A25 #588A25
triadic
#8A8A25 #258A8A #8A258A
tetradic
#8A8A25 #258A58 #25258A #8A2558
square
#8A8A25 #258A58 #25258A #8A2558
split-complementary
#8A8A25 #25588A #58258A
monochromatic
#29290B #5A5A18 #8A8A25 #BABA32 #D2D257

Accessibility & contrast

On white

3.66
#8A8A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8A8A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A25
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A25#FFFFFF#000000##000000
##8A8A251.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958412
Deuteranopia (green-blind)
#97872D
Tritanopia (blue-blind)
#948176
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8a25;
/* rgb */ color: rgb(138, 138, 37);
/* oklch */ color: oklch(61.5% 0.119 109.5);
Tailwind
colors: {
  custom: {
    50: '#afab67',
    500: '#8a8a25',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a25;
$custom-light: #afab67;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a25",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 60,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61466,
    "c": 0.1194,
    "h": 109.5
  },
  "luminance": 0.23714
}

Semantic roles & 50–950 ramp

primary
#8A8A25
secondary
#5454B7
accent
#47E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8A25

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

Preview Lab → · Contrast checker → · Palette generator →

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