#8D8A1E#8D8A1E

#8D8A1E is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.123 H 107.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8D8A1E
RGBrgb(141, 138, 30)
HSLhsl(58, 65%, 34%)
HSVhsv(58, 79%, 55%)
CMYKcmyk(0%, 2.1%, 78.7%, 44.7%)
CIE-LABlab(56.02, -11.52, 53.63)
CIE-LCHlch(56.02, 54.86, 102.13°)
OKLaboklab(61.69% -0.0377 0.117)
OKLCHoklch(61.69% 0.123 107.9)
XYZxyz(20.3081, 23.9341, 4.7780)
Luminance0.2393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A1E #1E218D
analogous
#8D521E #8D8A1E #588D1E
triadic
#8D8A1E #1E8D8A #8A1E8D
tetradic
#8D8A1E #1E8D52 #1E218D #8D1E58
square
#8D8A1E #1E8D52 #1E218D #8D1E58
split-complementary
#8D8A1E #1E588D #521E8D
monochromatic
#282709 #5B5913 #8D8A1E #BFBB29 #D9D54C

Accessibility & contrast

On white

3.63
#8D8A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8D8A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A1E
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A1E#FFFFFF#000000##000000
##8D8A1E1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968401
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#988076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8a1e;
/* rgb */ color: rgb(141, 138, 30);
/* oklch */ color: oklch(61.7% 0.123 107.9);
Tailwind
colors: {
  custom: {
    50: '#b2ab64',
    500: '#8d8a1e',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a1e;
$custom-light: #b2ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a1e",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 58.378,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61693,
    "c": 0.12291,
    "h": 107.9
  },
  "luminance": 0.23933
}

Semantic roles & 50–950 ramp

primary
#8D8A1E
secondary
#4B4EBC
accent
#44E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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