#8A9237#8A9237

#8A9237 is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.5% C 0.115 H 113.9°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8A9237
RGBrgb(138, 146, 55)
HSLhsl(65, 45%, 39%)
HSVhsv(65, 62%, 57%)
CMYKcmyk(5.5%, 0%, 62.3%, 42.7%)
CIE-LABlab(58.26, -15.68, 45.88)
CIE-LCHlch(58.26, 48.48, 108.87°)
OKLaboklab(63.48% -0.0466 0.105)
OKLCHoklch(63.48% 0.115 113.9)
XYZxyz(21.4502, 26.2373, 7.5480)
Luminance0.2624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9237 #3F3792
analogous
#926D37 #8A9237 #5D9237
triadic
#8A9237 #378A92 #92378A
tetradic
#8A9237 #37926D #3F3792 #92375D
square
#8A9237 #37926D #3F3792 #92375D
split-complementary
#8A9237 #375D92 #6D3792
monochromatic
#363916 #606626 #8A9237 #B1BB4B #C5CC77

Accessibility & contrast

On white

3.36
#8A9237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#8A9237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9237
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9237#FFFFFF#000000##000000
##8A92371.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B2C
Deuteranopia (green-blind)
#9C8D3D
Tritanopia (blue-blind)
#938A7F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a9237;
/* rgb */ color: rgb(138, 146, 55);
/* oklch */ color: oklch(63.5% 0.115 113.9);
Tailwind
colors: {
  custom: {
    50: '#aeb172',
    500: '#8a9237',
    950: '#000000',
  },
}
SCSS
$custom: #8a9237;
$custom-light: #aeb172;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9237",
  "rgb": {
    "r": 138,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 65.275,
    "s": 45.274,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63478,
    "c": 0.1149,
    "h": 113.9
  },
  "luminance": 0.26237
}

Semantic roles & 50–950 ramp

primary
#8A9237
secondary
#7670B5
accent
#53D55E
background
#FBFAF7
surface
#F6F5ED
border
#D0CFC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A9237

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

Preview Lab → · Contrast checker → · Palette generator →

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