#8A8F37#8A8F37

#8A8F37 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 62.8% C 0.111 H 112.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8A8F37
RGBrgb(138, 143, 55)
HSLhsl(63, 44%, 39%)
HSVhsv(63, 62%, 56%)
CMYKcmyk(3.5%, 0%, 61.5%, 43.9%)
CIE-LABlab(57.39, -14.10, 44.93)
CIE-LCHlch(57.39, 47.09, 107.42°)
OKLaboklab(62.78% -0.0421 0.103)
OKLCHoklch(62.78% 0.111 112.2)
XYZxyz(20.9938, 25.3245, 7.3959)
Luminance0.2532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8F37 #3C378F
analogous
#8F6837 #8A8F37 #5E8F37
triadic
#8A8F37 #378A8F #8F378A
tetradic
#8A8F37 #378F68 #3C378F #8F375E
square
#8A8F37 #378F68 #3C378F #8F375E
split-complementary
#8A8F37 #375E8F #68378F
monochromatic
#353715 #5F6326 #8A8F37 #B3B94A #C6CA76

Accessibility & contrast

On white

3.46
#8A8F37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#8A8F37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8F37
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8F37#FFFFFF#000000##000000
##8A8F371.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#99892D
Deuteranopia (green-blind)
#9A8B3C
Tritanopia (blue-blind)
#93877C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a8f37;
/* rgb */ color: rgb(138, 143, 55);
/* oklch */ color: oklch(62.8% 0.111 112.2);
Tailwind
colors: {
  custom: {
    50: '#aeaf72',
    500: '#8a8f37',
    950: '#000000',
  },
}
SCSS
$custom: #8a8f37;
$custom-light: #aeaf72;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8f37",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 55
  },
  "hsl": {
    "h": 63.409,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62781,
    "c": 0.11131,
    "h": 112.2
  },
  "luminance": 0.25324
}

Semantic roles & 50–950 ramp

primary
#8A8F37
secondary
#736FB3
accent
#54D45B
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8F37

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

Preview Lab → · Contrast checker → · Palette generator →

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