#8A9937#8A9937

#8A9937 is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.1% C 0.123 H 117.4°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8A9937
RGBrgb(138, 153, 55)
HSLhsl(69, 47%, 41%)
HSVhsv(69, 64%, 60%)
CMYKcmyk(9.8%, 0%, 64.1%, 40%)
CIE-LABlab(60.30, -19.31, 48.08)
CIE-LCHlch(60.30, 51.81, 111.88°)
OKLaboklab(65.11% -0.0567 0.1097)
OKLCHoklch(65.11% 0.123 117.4)
XYZxyz(22.5625, 28.4618, 7.9188)
Luminance0.2846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9937 #463799
analogous
#997737 #8A9937 #599937
triadic
#8A9937 #378A99 #99378A
tetradic
#8A9937 #379977 #463799 #993759
square
#8A9937 #379977 #463799 #993759
split-complementary
#8A9937 #375999 #773799
monochromatic
#393F17 #616C27 #8A9937 #AEBF4E #C3D07B

Accessibility & contrast

On white

3.14
#8A9937 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#8A9937 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9937
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9937#FFFFFF#000000##000000
##8A99371.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3912B
Deuteranopia (green-blind)
#A1923E
Tritanopia (blue-blind)
#929185
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9937;
/* rgb */ color: rgb(138, 153, 55);
/* oklch */ color: oklch(65.1% 0.123 117.4);
Tailwind
colors: {
  custom: {
    50: '#afb773',
    500: '#8a9937',
    950: '#000000',
  },
}
SCSS
$custom: #8a9937;
$custom-light: #afb773;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9937",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 55
  },
  "hsl": {
    "h": 69.184,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65115,
    "c": 0.12349,
    "h": 117.4
  },
  "luminance": 0.28462
}

Semantic roles & 50–950 ramp

primary
#8A9937
secondary
#7E73B9
accent
#51D766
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9937

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

Preview Lab → · Contrast checker → · Palette generator →

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