#8D8A2E#8D8A2E

#8D8A2E is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.8% C 0.113 H 107.5°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8D8A2E
RGBrgb(141, 138, 46)
HSLhsl(58, 51%, 37%)
HSVhsv(58, 67%, 55%)
CMYKcmyk(0%, 2.1%, 67.4%, 44.7%)
CIE-LABlab(56.13, -10.71, 47.66)
CIE-LCHlch(56.13, 48.84, 102.66°)
OKLaboklab(61.81% -0.0338 0.1073)
OKLCHoklch(61.81% 0.113 107.5)
XYZxyz(20.5669, 24.0376, 6.1406)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A2E #2E318D
analogous
#8D5B2E #8D8A2E #618D2E
triadic
#8D8A2E #2E8D8A #8A2E8D
tetradic
#8D8A2E #2E8D5B #2E318D #8D2E61
square
#8D8A2E #2E8D5B #2E318D #8D2E61
split-complementary
#8D8A2E #2E618D #5B2E8D
monochromatic
#313010 #5F5D1F #8D8A2E #BBB73D #CECA68

Accessibility & contrast

On white

3.62
#8D8A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8D8A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A2E
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A2E#FFFFFF#000000##000000
##8D8A2E1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958521
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#978177
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8a2e;
/* rgb */ color: rgb(141, 138, 46);
/* oklch */ color: oklch(61.8% 0.113 107.5);
Tailwind
colors: {
  custom: {
    50: '#b1ab6c',
    500: '#8d8a2e',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a2e;
$custom-light: #b1ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a2e",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 58.105,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61809,
    "c": 0.1125,
    "h": 107.5
  },
  "luminance": 0.24037
}

Semantic roles & 50–950 ramp

primary
#8D8A2E
secondary
#6265B5
accent
#52DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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