#8A9038#8A9038

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

Color values

HEX#8A9038
RGBrgb(138, 144, 56)
HSLhsl(64, 44%, 39%)
HSVhsv(64, 61%, 56%)
CMYKcmyk(4.2%, 0%, 61.1%, 43.5%)
CIE-LABlab(57.69, -14.55, 44.80)
CIE-LCHlch(57.69, 47.10, 107.99°)
OKLaboklab(63.02% -0.0433 0.1029)
OKLCHoklch(63.02% 0.112 112.8)
XYZxyz(21.1688, 25.6357, 7.5737)
Luminance0.2564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9038 #3E3890
analogous
#906A38 #8A9038 #5E9038
triadic
#8A9038 #388A90 #90388A
tetradic
#8A9038 #38906A #3E3890 #90385E
square
#8A9038 #38906A #3E3890 #90385E
split-complementary
#8A9038 #385E90 #6A3890
monochromatic
#363816 #606427 #8A9038 #B2B94C #C5CA78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9038#FFFFFF#000000##000000
##8A90381.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)
#9A8A2E
Deuteranopia (green-blind)
#9A8C3D
Tritanopia (blue-blind)
#93887D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a9038;
/* rgb */ color: rgb(138, 144, 56);
/* oklch */ color: oklch(63.0% 0.112 112.8);
Tailwind
colors: {
  custom: {
    50: '#aeb072',
    500: '#8a9038',
    950: '#000000',
  },
}
SCSS
$custom: #8a9038;
$custom-light: #aeb072;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9038",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 56
  },
  "hsl": {
    "h": 64.091,
    "s": 44,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63023,
    "c": 0.11162,
    "h": 112.8
  },
  "luminance": 0.25635
}

Semantic roles & 50–950 ramp

primary
#8A9038
secondary
#7570B4
accent
#54D45D
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A9038

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

Preview Lab → · Contrast checker → · Palette generator →

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