#8D8E26#8D8E26

#8D8E26 is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.7% C 0.122 H 110.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8D8E26
RGBrgb(141, 142, 38)
HSLhsl(61, 58%, 35%)
HSVhsv(61, 73%, 56%)
CMYKcmyk(0.7%, 0%, 73.2%, 44.3%)
CIE-LABlab(57.22, -13.30, 51.95)
CIE-LCHlch(57.22, 53.62, 104.36°)
OKLaboklab(62.67% -0.0419 0.115)
OKLCHoklch(62.67% 0.122 110)
XYZxyz(21.0081, 25.1493, 5.5810)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8E26 #27268E
analogous
#8E5B26 #8D8E26 #598E26
triadic
#8D8E26 #268D8E #8E268D
tetradic
#8D8E26 #268E5B #27268E #8E2659
square
#8D8E26 #268E5B #27268E #8E2659
split-complementary
#8D8E26 #26598E #5B268E
monochromatic
#2D2D0C #5D5E19 #8D8E26 #BDBE33 #D2D35B

Accessibility & contrast

On white

3.48
#8D8E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#8D8E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8E26
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8E26#FFFFFF#000000##000000
##8D8E261.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8813
Deuteranopia (green-blind)
#9B8B2E
Tritanopia (blue-blind)
#97857A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8e26;
/* rgb */ color: rgb(141, 142, 38);
/* oklch */ color: oklch(62.7% 0.122 110.0);
Tailwind
colors: {
  custom: {
    50: '#b1ae68',
    500: '#8d8e26',
    950: '#000000',
  },
}
SCSS
$custom: #8d8e26;
$custom-light: #b1ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8e26",
  "rgb": {
    "r": 141,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 60.577,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62665,
    "c": 0.12234,
    "h": 110
  },
  "luminance": 0.25149
}

Semantic roles & 50–950 ramp

primary
#8D8E26
secondary
#5958B8
accent
#47E148
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8E26

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

Preview Lab → · Contrast checker → · Palette generator →

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