#8A8A37#8A8A37

#8A8A37 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.6% C 0.105 H 109.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8A8A37
RGBrgb(138, 138, 55)
HSLhsl(60, 43%, 38%)
HSVhsv(60, 60%, 54%)
CMYKcmyk(0%, 0%, 60.1%, 45.9%)
CIE-LABlab(55.94, -11.43, 43.35)
CIE-LCHlch(55.94, 44.83, 104.77°)
OKLaboklab(61.63% -0.0346 0.0997)
OKLCHoklch(61.63% 0.105 109.1)
XYZxyz(20.2599, 23.8566, 7.1512)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A37 #37378A
analogous
#8A6037 #8A8A37 #608A37
triadic
#8A8A37 #378A8A #8A378A
tetradic
#8A8A37 #378A60 #37378A #8A3760
square
#8A8A37 #378A60 #37378A #8A3760
split-complementary
#8A8A37 #37608A #60378A
monochromatic
#323214 #5E5E26 #8A8A37 #B6B648 #C8C874

Accessibility & contrast

On white

3.64
#8A8A37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8A8A37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A37
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A37#FFFFFF#000000##000000
##8A8A371.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95852E
Deuteranopia (green-blind)
#96873C
Tritanopia (blue-blind)
#938278
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8a37;
/* rgb */ color: rgb(138, 138, 55);
/* oklch */ color: oklch(61.6% 0.105 109.1);
Tailwind
colors: {
  custom: {
    50: '#aeac71',
    500: '#8a8a37',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a37;
$custom-light: #aeac71;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a37",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 55
  },
  "hsl": {
    "h": 60,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61626,
    "c": 0.10549,
    "h": 109.1
  },
  "luminance": 0.23856
}

Semantic roles & 50–950 ramp

primary
#8A8A37
secondary
#6D6DB0
accent
#55D355
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8A37

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

Preview Lab → · Contrast checker → · Palette generator →

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