#8E8A25#8E8A25

#8E8A25 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.119 H 107.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8E8A25
RGBrgb(142, 138, 37)
HSLhsl(58, 59%, 35%)
HSVhsv(58, 74%, 56%)
CMYKcmyk(0%, 2.8%, 73.9%, 44.3%)
CIE-LABlab(56.15, -10.76, 51.32)
CIE-LCHlch(56.15, 52.44, 101.84°)
OKLaboklab(61.83% -0.0349 0.1134)
OKLCHoklch(61.83% 0.119 107.1)
XYZxyz(20.5785, 24.0620, 5.3104)
Luminance0.2406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8A25 #25298E
analogous
#8E5525 #8E8A25 #5E8E25
triadic
#8E8A25 #258E8A #8A258E
tetradic
#8E8A25 #258E55 #25298E #8E255E
square
#8E8A25 #258E55 #25298E #8E255E
split-complementary
#8E8A25 #255E8E #55258E
monochromatic
#2D2C0C #5D5B18 #8E8A25 #BFB932 #D4CF5A

Accessibility & contrast

On white

3.61
#8E8A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8E8A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8A25
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8A25#FFFFFF#000000##000000
##8E8A251.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968512
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#998176
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8e8a25;
/* rgb */ color: rgb(142, 138, 37);
/* oklch */ color: oklch(61.8% 0.119 107.1);
Tailwind
colors: {
  custom: {
    50: '#b2ab67',
    500: '#8e8a25',
    950: '#000000',
  },
}
SCSS
$custom: #8e8a25;
$custom-light: #b2ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8a25",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 57.714,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61829,
    "c": 0.11866,
    "h": 107.1
  },
  "luminance": 0.24061
}

Semantic roles & 50–950 ramp

primary
#8E8A25
secondary
#565AB9
accent
#4CE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8A25

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

Preview Lab → · Contrast checker → · Palette generator →

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