#8D8239#8D8239

#8D8239 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.1% C 0.095 H 100.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8D8239
RGBrgb(141, 130, 57)
HSLhsl(52, 42%, 39%)
HSVhsv(52, 60%, 55%)
CMYKcmyk(0%, 7.8%, 59.6%, 44.7%)
CIE-LABlab(53.95, -5.56, 40.23)
CIE-LCHlch(53.95, 40.62, 97.87°)
OKLaboklab(60.11% -0.0178 0.0932)
OKLCHoklch(60.11% 0.095 100.8)
XYZxyz(19.7064, 21.9242, 7.0639)
Luminance0.2192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8239 #39448D
analogous
#8D5839 #8D8239 #6E8D39
triadic
#8D8239 #398D82 #82398D
tetradic
#8D8239 #398D58 #39448D #8D396E
square
#8D8239 #398D58 #39448D #8D396E
split-complementary
#8D8239 #396E8D #58398D
monochromatic
#363216 #615A27 #8D8239 #B7A94C #C8BE78

Accessibility & contrast

On white

3.90
#8D8239 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#8D8239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8239
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8239#FFFFFF#000000##000000
##8D82391.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E31
Deuteranopia (green-blind)
#90833D
Tritanopia (blue-blind)
#977A72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d8239;
/* rgb */ color: rgb(141, 130, 57);
/* oklch */ color: oklch(60.1% 0.095 100.8);
Tailwind
colors: {
  custom: {
    50: '#b1a672',
    500: '#8d8239',
    950: '#000000',
  },
}
SCSS
$custom: #8d8239;
$custom-light: #b1a672;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8239",
  "rgb": {
    "r": 141,
    "g": 130,
    "b": 57
  },
  "hsl": {
    "h": 52.143,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60108,
    "c": 0.0949,
    "h": 100.8
  },
  "luminance": 0.21923
}

Semantic roles & 50–950 ramp

primary
#8D8239
secondary
#7079B2
accent
#66D256
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8D8239

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

Preview Lab → · Contrast checker → · Palette generator →

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