#8D9128#8D9128

#8D9128 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.4% C 0.124 H 111.6°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8D9128
RGBrgb(141, 145, 40)
HSLhsl(62, 57%, 36%)
HSVhsv(62, 72%, 57%)
CMYKcmyk(2.8%, 0%, 72.4%, 43.1%)
CIE-LABlab(58.10, -14.78, 52.05)
CIE-LCHlch(58.10, 54.11, 105.85°)
OKLaboklab(63.37% -0.0458 0.1155)
OKLCHoklch(63.37% 0.124 111.6)
XYZxyz(21.4936, 26.0673, 5.9063)
Luminance0.2607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9128 #2C2891
analogous
#916128 #8D9128 #599128
triadic
#8D9128 #288D91 #91288D
tetradic
#8D9128 #289161 #2C2891 #912859
square
#8D9128 #289161 #2C2891 #912859
split-complementary
#8D9128 #285991 #612891
monochromatic
#30310E #5E611B #8D9128 #BCC135 #CFD360

Accessibility & contrast

On white

3.38
#8D9128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#8D9128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9128
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9128#FFFFFF#000000##000000
##8D91281.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A15
Deuteranopia (green-blind)
#9D8D30
Tritanopia (blue-blind)
#97887D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d9128;
/* rgb */ color: rgb(141, 145, 40);
/* oklch */ color: oklch(63.4% 0.124 111.6);
Tailwind
colors: {
  custom: {
    50: '#b1b16a',
    500: '#8d9128',
    950: '#000000',
  },
}
SCSS
$custom: #8d9128;
$custom-light: #b1b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9128",
  "rgb": {
    "r": 141,
    "g": 145,
    "b": 40
  },
  "hsl": {
    "h": 62.286,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63372,
    "c": 0.12429,
    "h": 111.6
  },
  "luminance": 0.26067
}

Semantic roles & 50–950 ramp

primary
#8D9128
secondary
#605CB9
accent
#48E04E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D9128

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

Preview Lab → · Contrast checker → · Palette generator →

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