#8D8926#8D8926

#8D8926 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.5% C 0.117 H 107.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8D8926
RGBrgb(141, 137, 38)
HSLhsl(58, 58%, 35%)
HSVhsv(58, 73%, 55%)
CMYKcmyk(0%, 2.8%, 73%, 44.7%)
CIE-LABlab(55.78, -10.62, 50.56)
CIE-LCHlch(55.78, 51.66, 101.86°)
OKLaboklab(61.52% -0.0344 0.112)
OKLCHoklch(61.52% 0.117 107.1)
XYZxyz(20.2808, 23.6947, 5.3386)
Luminance0.2369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8926 #262A8D
analogous
#8D5626 #8D8926 #5D8D26
triadic
#8D8926 #268D89 #89268D
tetradic
#8D8926 #268D56 #262A8D #8D265D
square
#8D8926 #268D56 #262A8D #8D265D
split-complementary
#8D8926 #265D8D #56268D
monochromatic
#2D2B0C #5D5A19 #8D8926 #BDB833 #D3CE5B

Accessibility & contrast

On white

3.66
#8D8926 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8D8926 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8926
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8926#FFFFFF#000000##000000
##8D89261.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958415
Deuteranopia (green-blind)
#97872D
Tritanopia (blue-blind)
#988076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8926;
/* rgb */ color: rgb(141, 137, 38);
/* oklch */ color: oklch(61.5% 0.117 107.1);
Tailwind
colors: {
  custom: {
    50: '#b1ab68',
    500: '#8d8926',
    950: '#000000',
  },
}
SCSS
$custom: #8d8926;
$custom-light: #b1ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8926",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 38
  },
  "hsl": {
    "h": 57.67,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61515,
    "c": 0.11717,
    "h": 107.1
  },
  "luminance": 0.23694
}

Semantic roles & 50–950 ramp

primary
#8D8926
secondary
#575BB8
accent
#4DE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8926

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

Preview Lab → · Contrast checker → · Palette generator →

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