#8D8A26#8D8A26

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

Color values

HEX#8D8A26
RGBrgb(141, 138, 38)
HSLhsl(58, 58%, 35%)
HSVhsv(58, 73%, 55%)
CMYKcmyk(0%, 2.1%, 73%, 44.7%)
CIE-LABlab(56.07, -11.16, 50.84)
CIE-LCHlch(56.07, 52.05, 102.38°)
OKLaboklab(61.74% -0.0359 0.1126)
OKLCHoklch(61.74% 0.118 107.7)
XYZxyz(20.4236, 23.9803, 5.3862)
Luminance0.2398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A26 #26298D
analogous
#8D5626 #8D8A26 #5D8D26
triadic
#8D8A26 #268D8A #8A268D
tetradic
#8D8A26 #268D56 #26298D #8D265D
square
#8D8A26 #268D56 #26298D #8D265D
split-complementary
#8D8A26 #265D8D #56268D
monochromatic
#2D2C0C #5D5B19 #8D8A26 #BDB933 #D3CF5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8A26#FFFFFF#000000##000000
##8D8A261.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)
#968414
Deuteranopia (green-blind)
#98882D
Tritanopia (blue-blind)
#978177
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8a26;
/* rgb */ color: rgb(141, 138, 38);
/* oklch */ color: oklch(61.7% 0.118 107.7);
Tailwind
colors: {
  custom: {
    50: '#b1ab68',
    500: '#8d8a26',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a26;
$custom-light: #b1ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a26",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 58.252,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61744,
    "c": 0.11818,
    "h": 107.7
  },
  "luminance": 0.2398
}

Semantic roles & 50–950 ramp

primary
#8D8A26
secondary
#575AB8
accent
#4BE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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