#8D9120#8D9120

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

Color values

HEX#8D9120
RGBrgb(141, 145, 32)
HSLhsl(62, 64%, 35%)
HSVhsv(62, 78%, 57%)
CMYKcmyk(2.8%, 0%, 77.9%, 43.1%)
CIE-LABlab(58.05, -15.16, 54.83)
CIE-LCHlch(58.05, 56.88, 105.45°)
OKLaboklab(63.32% -0.0476 0.1199)
OKLCHoklch(63.32% 0.129 111.7)
XYZxyz(21.3714, 26.0184, 5.2625)
Luminance0.2602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9120 #242091
analogous
#915D20 #8D9120 #559120
triadic
#8D9120 #208D91 #91208D
tetradic
#8D9120 #20915D #242091 #912055
square
#8D9120 #20915D #242091 #912055
split-complementary
#8D9120 #205591 #5D2091
monochromatic
#2B2D0A #5C5F15 #8D9120 #BEC32B #D4D952

Accessibility & contrast

On white

3.39
#8D9120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#8D9120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9120
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9120#FFFFFF#000000##000000
##8D91201.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A02
Deuteranopia (green-blind)
#9D8D2A
Tritanopia (blue-blind)
#97887C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8d9120;
/* rgb */ color: rgb(141, 145, 32);
/* oklch */ color: oklch(63.3% 0.129 111.7);
Tailwind
colors: {
  custom: {
    50: '#b2b166',
    500: '#8d9120',
    950: '#000000',
  },
}
SCSS
$custom: #8d9120;
$custom-light: #b2b166;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9120",
  "rgb": {
    "r": 141,
    "g": 145,
    "b": 32
  },
  "hsl": {
    "h": 62.124,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.63321,
    "c": 0.12904,
    "h": 111.7
  },
  "luminance": 0.26018
}

Semantic roles & 50–950 ramp

primary
#8D9120
secondary
#5451BC
accent
#41E747
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D9120

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

Preview Lab → · Contrast checker → · Palette generator →

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