#8E8925#8E8925

#8E8925 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.118 H 106.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8E8925
RGBrgb(142, 137, 37)
HSLhsl(57, 59%, 35%)
HSVhsv(57, 74%, 56%)
CMYKcmyk(0%, 3.5%, 73.9%, 44.3%)
CIE-LABlab(55.86, -10.22, 51.05)
CIE-LCHlch(55.86, 52.06, 101.32°)
OKLaboklab(61.6% -0.0334 0.1128)
OKLCHoklch(61.6% 0.118 106.5)
XYZxyz(20.4357, 23.7764, 5.2627)
Luminance0.2378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8925 #252A8E
analogous
#8E5525 #8E8925 #5E8E25
triadic
#8E8925 #258E89 #89258E
tetradic
#8E8925 #258E55 #252A8E #8E255E
square
#8E8925 #258E55 #252A8E #8E255E
split-complementary
#8E8925 #255E8E #55258E
monochromatic
#2D2B0C #5D5A18 #8E8925 #BFB832 #D4CE5A

Accessibility & contrast

On white

3.65
#8E8925 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8E8925 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8925
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8925#FFFFFF#000000##000000
##8E89251.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958413
Deuteranopia (green-blind)
#97882C
Tritanopia (blue-blind)
#998076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e8925;
/* rgb */ color: rgb(142, 137, 37);
/* oklch */ color: oklch(61.6% 0.118 106.5);
Tailwind
colors: {
  custom: {
    50: '#b2ab67',
    500: '#8e8925',
    950: '#000000',
  },
}
SCSS
$custom: #8e8925;
$custom-light: #b2ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8925",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 37
  },
  "hsl": {
    "h": 57.143,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61601,
    "c": 0.11766,
    "h": 106.5
  },
  "luminance": 0.23776
}

Semantic roles & 50–950 ramp

primary
#8E8925
secondary
#565BB9
accent
#4DE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8925

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

Preview Lab → · Contrast checker → · Palette generator →

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