#8A8D34#8A8D34

#8A8D34 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.3% C 0.112 H 111.1°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8A8D34
RGBrgb(138, 141, 52)
HSLhsl(62, 46%, 38%)
HSVhsv(62, 63%, 55%)
CMYKcmyk(2.1%, 0%, 63.1%, 44.7%)
CIE-LABlab(56.78, -13.25, 45.64)
CIE-LCHlch(56.78, 47.52, 106.19°)
OKLaboklab(62.29% -0.0401 0.1041)
OKLCHoklch(62.29% 0.112 111.1)
XYZxyz(20.6265, 24.7015, 6.9294)
Luminance0.2470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D34 #37348D
analogous
#8D6334 #8A8D34 #5E8D34
triadic
#8A8D34 #348A8D #8D348A
tetradic
#8A8D34 #348D63 #37348D #8D345E
square
#8A8D34 #348D63 #37348D #8D345E
split-complementary
#8A8D34 #345E8D #63348D
monochromatic
#323413 #5E6024 #8A8D34 #B6BA44 #C8CB71

Accessibility & contrast

On white

3.54
#8A8D34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#8A8D34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D34
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D34#FFFFFF#000000##000000
##8A8D341.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988729
Deuteranopia (green-blind)
#98893A
Tritanopia (blue-blind)
#93857A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8d34;
/* rgb */ color: rgb(138, 141, 52);
/* oklch */ color: oklch(62.3% 0.112 111.1);
Tailwind
colors: {
  custom: {
    50: '#afae70',
    500: '#8a8d34',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d34;
$custom-light: #afae70;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d34",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 52
  },
  "hsl": {
    "h": 62.022,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62287,
    "c": 0.11154,
    "h": 111.1
  },
  "luminance": 0.24701
}

Semantic roles & 50–950 ramp

primary
#8A8D34
secondary
#6D6AB3
accent
#52D656
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8D34

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

Preview Lab → · Contrast checker → · Palette generator →

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