#8A9037#8A9037

#8A9037 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.0% C 0.113 H 112.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8A9037
RGBrgb(138, 144, 55)
HSLhsl(64, 45%, 39%)
HSVhsv(64, 62%, 56%)
CMYKcmyk(4.2%, 0%, 61.8%, 43.5%)
CIE-LABlab(57.68, -14.62, 45.25)
CIE-LCHlch(57.68, 47.55, 107.91°)
OKLaboklab(63.01% -0.0436 0.1037)
OKLCHoklch(63.01% 0.113 112.8)
XYZxyz(21.1446, 25.6261, 7.4461)
Luminance0.2563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9037 #3D3790
analogous
#906A37 #8A9037 #5E9037
triadic
#8A9037 #378A90 #90378A
tetradic
#8A9037 #37906A #3D3790 #90375E
square
#8A9037 #37906A #3D3790 #90375E
split-complementary
#8A9037 #375E90 #6A3790
monochromatic
#353715 #606426 #8A9037 #B2BA4A #C5CB77

Accessibility & contrast

On white

3.43
#8A9037 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#8A9037 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9037
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9037#FFFFFF#000000##000000
##8A90371.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A2D
Deuteranopia (green-blind)
#9A8C3D
Tritanopia (blue-blind)
#93887D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a9037;
/* rgb */ color: rgb(138, 144, 55);
/* oklch */ color: oklch(63.0% 0.113 112.8);
Tailwind
colors: {
  custom: {
    50: '#aeb072',
    500: '#8a9037',
    950: '#000000',
  },
}
SCSS
$custom: #8a9037;
$custom-light: #aeb072;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9037",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 55
  },
  "hsl": {
    "h": 64.045,
    "s": 44.724,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63013,
    "c": 0.1125,
    "h": 112.8
  },
  "luminance": 0.25626
}

Semantic roles & 50–950 ramp

primary
#8A9037
secondary
#746FB4
accent
#53D45C
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A9037

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

Preview Lab → · Contrast checker → · Palette generator →

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