#8A8E37#8A8E37

#8A8E37 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.5% C 0.110 H 111.6°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8A8E37
RGBrgb(138, 142, 55)
HSLhsl(63, 44%, 39%)
HSVhsv(63, 61%, 56%)
CMYKcmyk(2.8%, 0%, 61.3%, 44.3%)
CIE-LABlab(57.10, -13.56, 44.62)
CIE-LCHlch(57.10, 46.63, 106.91°)
OKLaboklab(62.55% -0.0406 0.1024)
OKLCHoklch(62.55% 0.11 111.6)
XYZxyz(20.8444, 25.0256, 7.3461)
Luminance0.2502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8E37 #3B378E
analogous
#8E6637 #8A8E37 #5E8E37
triadic
#8A8E37 #378A8E #8E378A
tetradic
#8A8E37 #378E66 #3B378E #8E375E
square
#8A8E37 #378E66 #3B378E #8E375E
split-complementary
#8A8E37 #375E8E #66378E
monochromatic
#343615 #5F6226 #8A8E37 #B4B949 #C6CA76

Accessibility & contrast

On white

3.50
#8A8E37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8A8E37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8E37
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8E37#FFFFFF#000000##000000
##8A8E371.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98882D
Deuteranopia (green-blind)
#998A3C
Tritanopia (blue-blind)
#93867C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8e37;
/* rgb */ color: rgb(138, 142, 55);
/* oklch */ color: oklch(62.5% 0.110 111.6);
Tailwind
colors: {
  custom: {
    50: '#aeae72',
    500: '#8a8e37',
    950: '#000000',
  },
}
SCSS
$custom: #8a8e37;
$custom-light: #aeae72;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8e37",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 55
  },
  "hsl": {
    "h": 62.759,
    "s": 44.162,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62549,
    "c": 0.11013,
    "h": 111.6
  },
  "luminance": 0.25025
}

Semantic roles & 50–950 ramp

primary
#8A8E37
secondary
#716EB3
accent
#54D45A
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8E37

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

Preview Lab → · Contrast checker → · Palette generator →

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