#8D8B2E#8D8B2E

#8D8B2E is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.0% C 0.114 H 108.1°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8D8B2E
RGBrgb(141, 139, 46)
HSLhsl(59, 51%, 37%)
HSVhsv(59, 67%, 55%)
CMYKcmyk(0%, 1.4%, 67.4%, 44.7%)
CIE-LABlab(56.41, -11.25, 47.95)
CIE-LCHlch(56.41, 49.25, 103.20°)
OKLaboklab(62.04% -0.0353 0.1079)
OKLCHoklch(62.04% 0.114 108.1)
XYZxyz(20.7110, 24.3259, 6.1886)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8B2E #2E308D
analogous
#8D5C2E #8D8B2E #608D2E
triadic
#8D8B2E #2E8D8B #8B2E8D
tetradic
#8D8B2E #2E8D5C #2E308D #8D2E60
square
#8D8B2E #2E8D5C #2E308D #8D2E60
split-complementary
#8D8B2E #2E608D #5C2E8D
monochromatic
#313010 #5F5E1F #8D8B2E #BBB83D #CECC68

Accessibility & contrast

On white

3.58
#8D8B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#8D8B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8B2E
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8B2E#FFFFFF#000000##000000
##8D8B2E1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#968521
Deuteranopia (green-blind)
#988934
Tritanopia (blue-blind)
#978278
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8b2e;
/* rgb */ color: rgb(141, 139, 46);
/* oklch */ color: oklch(62.0% 0.114 108.1);
Tailwind
colors: {
  custom: {
    50: '#b1ac6c',
    500: '#8d8b2e',
    950: '#000000',
  },
}
SCSS
$custom: #8d8b2e;
$custom-light: #b1ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8b2e",
  "rgb": {
    "r": 141,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 58.737,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62037,
    "c": 0.11356,
    "h": 108.1
  },
  "luminance": 0.24325
}

Semantic roles & 50–950 ramp

primary
#8D8B2E
secondary
#6264B5
accent
#50DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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