#8D8B2F#8D8B2F

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

Color values

HEX#8D8B2F
RGBrgb(141, 139, 47)
HSLhsl(59, 50%, 37%)
HSVhsv(59, 67%, 55%)
CMYKcmyk(0%, 1.4%, 66.7%, 44.7%)
CIE-LABlab(56.42, -11.18, 47.53)
CIE-LCHlch(56.42, 48.83, 103.24°)
OKLaboklab(62.05% -0.035 0.1072)
OKLCHoklch(62.05% 0.113 108.1)
XYZxyz(20.7309, 24.3338, 6.2936)
Luminance0.2433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8B2F #2F318D
analogous
#8D5C2F #8D8B2F #608D2F
triadic
#8D8B2F #2F8D8B #8B2F8D
tetradic
#8D8B2F #2F8D5C #2F318D #8D2F60
square
#8D8B2F #2F8D5C #2F318D #8D2F60
split-complementary
#8D8B2F #2F608D #5C2F8D
monochromatic
#313110 #5F5E20 #8D8B2F #BBB83E #CDCB69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8B2F#FFFFFF#000000##000000
##8D8B2F1.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)
#968523
Deuteranopia (green-blind)
#988935
Tritanopia (blue-blind)
#978278
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8b2f;
/* rgb */ color: rgb(141, 139, 47);
/* oklch */ color: oklch(62.0% 0.113 108.1);
Tailwind
colors: {
  custom: {
    50: '#b1ac6d',
    500: '#8d8b2f',
    950: '#000000',
  },
}
SCSS
$custom: #8d8b2f;
$custom-light: #b1ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8b2f",
  "rgb": {
    "r": 141,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 58.723,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62046,
    "c": 0.11279,
    "h": 108.1
  },
  "luminance": 0.24333
}

Semantic roles & 50–950 ramp

primary
#8D8B2F
secondary
#6465B4
accent
#51DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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