#8D8A2B#8D8A2B

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

Color values

HEX#8D8A2B
RGBrgb(141, 138, 43)
HSLhsl(58, 53%, 36%)
HSVhsv(58, 70%, 55%)
CMYKcmyk(0%, 2.1%, 69.5%, 44.7%)
CIE-LABlab(56.10, -10.89, 48.89)
CIE-LCHlch(56.10, 50.09, 102.55°)
OKLaboklab(61.78% -0.0346 0.1094)
OKLCHoklch(61.78% 0.115 107.6)
XYZxyz(20.5098, 24.0148, 5.8400)
Luminance0.2401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A2B #2B2E8D
analogous
#8D592B #8D8A2B #5F8D2B
triadic
#8D8A2B #2B8D8A #8A2B8D
tetradic
#8D8A2B #2B8D59 #2B2E8D #8D2B5F
square
#8D8A2B #2B8D59 #2B2E8D #8D2B5F
split-complementary
#8D8A2B #2B5F8D #592B8D
monochromatic
#2F2E0E #5E5C1D #8D8A2B #BCB839 #CFCC63

Accessibility & contrast

On white

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

On black

5.80
#8D8A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A2B
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A2B#FFFFFF#000000##000000
##8D8A2B1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851D
Deuteranopia (green-blind)
#978831
Tritanopia (blue-blind)
#978177
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8a2b;
/* rgb */ color: rgb(141, 138, 43);
/* oklch */ color: oklch(61.8% 0.115 107.6);
Tailwind
colors: {
  custom: {
    50: '#b1ab6a',
    500: '#8d8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a2b;
$custom-light: #b1ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a2b",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 58.163,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61783,
    "c": 0.11474,
    "h": 107.6
  },
  "luminance": 0.24014
}

Semantic roles & 50–950 ramp

primary
#8D8A2B
secondary
#5E61B6
accent
#50DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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