#8A8E25#8A8E25

#8A8E25 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.4% C 0.124 H 111.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8A8E25
RGBrgb(138, 142, 37)
HSLhsl(62, 59%, 35%)
HSVhsv(62, 74%, 56%)
CMYKcmyk(2.8%, 0%, 73.9%, 44.3%)
CIE-LABlab(56.96, -14.69, 51.98)
CIE-LCHlch(56.96, 54.02, 105.78°)
OKLaboklab(62.39% -0.0457 0.1149)
OKLCHoklch(62.39% 0.124 111.7)
XYZxyz(20.4888, 24.8834, 5.4736)
Luminance0.2488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8E25 #29258E
analogous
#8E5E25 #8A8E25 #558E25
triadic
#8A8E25 #258A8E #8E258A
tetradic
#8A8E25 #258E5E #29258E #8E2555
square
#8A8E25 #258E5E #29258E #8E2555
split-complementary
#8A8E25 #25558E #5E258E
monochromatic
#2C2D0C #5B5D18 #8A8E25 #B9BF32 #CFD45A

Accessibility & contrast

On white

3.51
#8A8E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8A8E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8E25
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8E25#FFFFFF#000000##000000
##8A8E251.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998711
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#94857A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8e25;
/* rgb */ color: rgb(138, 142, 37);
/* oklch */ color: oklch(62.4% 0.124 111.7);
Tailwind
colors: {
  custom: {
    50: '#afae68',
    500: '#8a8e25',
    950: '#000000',
  },
}
SCSS
$custom: #8a8e25;
$custom-light: #afae68;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8e25",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 62.286,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62394,
    "c": 0.12369,
    "h": 111.7
  },
  "luminance": 0.24883
}

Semantic roles & 50–950 ramp

primary
#8A8E25
secondary
#5A56B9
accent
#46E24C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8E25

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

Preview Lab → · Contrast checker → · Palette generator →

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