#8D8A34#8D8A34

#8D8A34 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.9% C 0.108 H 107.3°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8D8A34
RGBrgb(141, 138, 52)
HSLhsl(58, 46%, 38%)
HSVhsv(58, 63%, 55%)
CMYKcmyk(0%, 2.1%, 63.1%, 44.7%)
CIE-LABlab(56.18, -10.31, 45.06)
CIE-LCHlch(56.18, 46.23, 102.89°)
OKLaboklab(61.87% -0.0319 0.1028)
OKLCHoklch(61.87% 0.108 107.3)
XYZxyz(20.6935, 24.0883, 6.8076)
Luminance0.2409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A34 #34378D
analogous
#8D5E34 #8D8A34 #638D34
triadic
#8D8A34 #348D8A #8A348D
tetradic
#8D8A34 #348D5E #34378D #8D3463
square
#8D8A34 #348D5E #34378D #8D3463
split-complementary
#8D8A34 #34638D #5E348D
monochromatic
#343213 #605E24 #8D8A34 #BAB644 #CBC871

Accessibility & contrast

On white

3.61
#8D8A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8D8A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A34
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A34#FFFFFF#000000##000000
##8D8A341.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95852A
Deuteranopia (green-blind)
#978839
Tritanopia (blue-blind)
#978178
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8a34;
/* rgb */ color: rgb(141, 138, 52);
/* oklch */ color: oklch(61.9% 0.108 107.3);
Tailwind
colors: {
  custom: {
    50: '#b1ab70',
    500: '#8d8a34',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a34;
$custom-light: #b1ab70;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a34",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 57.978,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61865,
    "c": 0.10764,
    "h": 107.3
  },
  "luminance": 0.24088
}

Semantic roles & 50–950 ramp

primary
#8D8A34
secondary
#6A6DB3
accent
#56D652
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8D8A34

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

Preview Lab → · Contrast checker → · Palette generator →

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