#8A8A36#8A8A36

#8A8A36 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.106 H 109.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8A8A36
RGBrgb(138, 138, 54)
HSLhsl(60, 44%, 38%)
HSVhsv(60, 61%, 54%)
CMYKcmyk(0%, 0%, 60.9%, 45.9%)
CIE-LABlab(55.93, -11.50, 43.80)
CIE-LCHlch(55.93, 45.29, 104.71°)
OKLaboklab(61.61% -0.0349 0.1005)
OKLCHoklch(61.61% 0.106 109.2)
XYZxyz(20.2362, 23.8471, 7.0263)
Luminance0.2385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A36 #36368A
analogous
#8A6036 #8A8A36 #608A36
triadic
#8A8A36 #368A8A #8A368A
tetradic
#8A8A36 #368A60 #36368A #8A3660
square
#8A8A36 #368A60 #36368A #8A3660
split-complementary
#8A8A36 #36608A #60368A
monochromatic
#323214 #5E5E25 #8A8A36 #B6B647 #C8C872

Accessibility & contrast

On white

3.64
#8A8A36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8A8A36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A36
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A36#FFFFFF#000000##000000
##8A8A361.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95842C
Deuteranopia (green-blind)
#96873B
Tritanopia (blue-blind)
#938278
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8a36;
/* rgb */ color: rgb(138, 138, 54);
/* oklch */ color: oklch(61.6% 0.106 109.2);
Tailwind
colors: {
  custom: {
    50: '#aeac71',
    500: '#8a8a36',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a36;
$custom-light: #aeac71;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a36",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 54
  },
  "hsl": {
    "h": 60,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61615,
    "c": 0.10638,
    "h": 109.2
  },
  "luminance": 0.23847
}

Semantic roles & 50–950 ramp

primary
#8A8A36
secondary
#6B6BB1
accent
#54D354
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8A36

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

Preview Lab → · Contrast checker → · Palette generator →

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