#8D9124#8D9124

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

Color values

HEX#8D9124
RGBrgb(141, 145, 36)
HSLhsl(62, 60%, 35%)
HSVhsv(62, 75%, 57%)
CMYKcmyk(2.8%, 0%, 75.2%, 43.1%)
CIE-LABlab(58.08, -14.98, 53.49)
CIE-LCHlch(58.08, 55.55, 105.64°)
OKLaboklab(63.35% -0.0468 0.1178)
OKLCHoklch(63.35% 0.127 111.6)
XYZxyz(21.4291, 26.0414, 5.5664)
Luminance0.2604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9124 #282491
analogous
#915E24 #8D9124 #569124
triadic
#8D9124 #248D91 #91248D
tetradic
#8D9124 #24915E #282491 #912456
square
#8D9124 #24915E #282491 #912456
split-complementary
#8D9124 #245691 #5E2491
monochromatic
#2E2F0C #5D6018 #8D9124 #BDC230 #D1D659

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9124#FFFFFF#000000##000000
##8D91241.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)
#9D8A0D
Deuteranopia (green-blind)
#9D8D2D
Tritanopia (blue-blind)
#97887C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d9124;
/* rgb */ color: rgb(141, 145, 36);
/* oklch */ color: oklch(63.3% 0.127 111.6);
Tailwind
colors: {
  custom: {
    50: '#b2b168',
    500: '#8d9124',
    950: '#000000',
  },
}
SCSS
$custom: #8d9124;
$custom-light: #b2b168;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9124",
  "rgb": {
    "r": 141,
    "g": 145,
    "b": 36
  },
  "hsl": {
    "h": 62.202,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63345,
    "c": 0.12678,
    "h": 111.6
  },
  "luminance": 0.26041
}

Semantic roles & 50–950 ramp

primary
#8D9124
secondary
#5A56BA
accent
#44E34A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D9124

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

Preview Lab → · Contrast checker → · Palette generator →

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