#8A8D37#8A8D37

#8A8D37 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.3% C 0.109 H 111.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8A8D37
RGBrgb(138, 141, 55)
HSLhsl(62, 44%, 38%)
HSVhsv(62, 61%, 55%)
CMYKcmyk(2.1%, 0%, 61%, 44.7%)
CIE-LABlab(56.81, -13.03, 44.30)
CIE-LCHlch(56.81, 46.18, 106.39°)
OKLaboklab(62.32% -0.0391 0.1017)
OKLCHoklch(62.32% 0.109 111)
XYZxyz(20.6963, 24.7293, 7.2967)
Luminance0.2473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D37 #3A378D
analogous
#8D6537 #8A8D37 #5F8D37
triadic
#8A8D37 #378A8D #8D378A
tetradic
#8A8D37 #378D65 #3A378D #8D375F
square
#8A8D37 #378D65 #3A378D #8D375F
split-complementary
#8A8D37 #375F8D #65378D
monochromatic
#343515 #5F6126 #8A8D37 #B4B849 #C6C975

Accessibility & contrast

On white

3.53
#8A8D37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8A8D37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D37
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D37#FFFFFF#000000##000000
##8A8D371.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97872D
Deuteranopia (green-blind)
#98893C
Tritanopia (blue-blind)
#93857B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8d37;
/* rgb */ color: rgb(138, 141, 55);
/* oklch */ color: oklch(62.3% 0.109 111.0);
Tailwind
colors: {
  custom: {
    50: '#aeae72',
    500: '#8a8d37',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d37;
$custom-light: #aeae72;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d37",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 55
  },
  "hsl": {
    "h": 62.093,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62318,
    "c": 0.10895,
    "h": 111
  },
  "luminance": 0.24729
}

Semantic roles & 50–950 ramp

primary
#8A8D37
secondary
#706EB2
accent
#54D459
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8D37

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

Preview Lab → · Contrast checker → · Palette generator →

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