#8A9737#8A9737

#8A9737 is a light, vivid yellow. Relative luminance 0.278; OKLCH L 64.6% C 0.121 H 116.4°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8A9737
RGBrgb(138, 151, 55)
HSLhsl(68, 47%, 40%)
HSVhsv(68, 64%, 59%)
CMYKcmyk(8.6%, 0%, 63.6%, 40.8%)
CIE-LABlab(59.72, -18.28, 47.45)
CIE-LCHlch(59.72, 50.85, 111.07°)
OKLaboklab(64.65% -0.0539 0.1084)
OKLCHoklch(64.65% 0.121 116.4)
XYZxyz(22.2379, 27.8126, 7.8106)
Luminance0.2781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9737 #443797
analogous
#977437 #8A9737 #5A9737
triadic
#8A9737 #378A97 #97378A
tetradic
#8A9737 #379774 #443797 #97375A
square
#8A9737 #379774 #443797 #97375A
split-complementary
#8A9737 #375A97 #743797
monochromatic
#383D16 #616A27 #8A9737 #AFBE4D #C3CF7A

Accessibility & contrast

On white

3.20
#8A9737 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#8A9737 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9737
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9737#FFFFFF#000000##000000
##8A97371.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F2B
Deuteranopia (green-blind)
#A0913D
Tritanopia (blue-blind)
#928F83
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a9737;
/* rgb */ color: rgb(138, 151, 55);
/* oklch */ color: oklch(64.6% 0.121 116.4);
Tailwind
colors: {
  custom: {
    50: '#afb572',
    500: '#8a9737',
    950: '#000000',
  },
}
SCSS
$custom: #8a9737;
$custom-light: #afb572;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9737",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 55
  },
  "hsl": {
    "h": 68.125,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64645,
    "c": 0.12101,
    "h": 116.4
  },
  "luminance": 0.27812
}

Semantic roles & 50–950 ramp

primary
#8A9737
secondary
#7C72B8
accent
#52D664
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9737

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

Preview Lab → · Contrast checker → · Palette generator →

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