#8D9122#8D9122

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

Color values

HEX#8D9122
RGBrgb(141, 145, 34)
HSLhsl(62, 62%, 35%)
HSVhsv(62, 77%, 57%)
CMYKcmyk(2.8%, 0%, 76.6%, 43.1%)
CIE-LABlab(58.07, -15.07, 54.17)
CIE-LCHlch(58.07, 56.23, 105.55°)
OKLaboklab(63.33% -0.0472 0.1189)
OKLCHoklch(63.33% 0.128 111.7)
XYZxyz(21.3994, 26.0296, 5.4100)
Luminance0.2603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9122 #262291
analogous
#915D22 #8D9122 #569122
triadic
#8D9122 #228D91 #91228D
tetradic
#8D9122 #22915D #262291 #912256
square
#8D9122 #22915D #262291 #912256
split-complementary
#8D9122 #225691 #5D2291
monochromatic
#2D2E0B #5D5F16 #8D9122 #BDC32E #D3D756

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9122#FFFFFF#000000##000000
##8D91221.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)
#9D8A07
Deuteranopia (green-blind)
#9D8D2B
Tritanopia (blue-blind)
#97887C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d9122;
/* rgb */ color: rgb(141, 145, 34);
/* oklch */ color: oklch(63.3% 0.128 111.7);
Tailwind
colors: {
  custom: {
    50: '#b2b167',
    500: '#8d9122',
    950: '#000000',
  },
}
SCSS
$custom: #8d9122;
$custom-light: #b2b167;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9122",
  "rgb": {
    "r": 141,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 62.162,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63332,
    "c": 0.12794,
    "h": 111.7
  },
  "luminance": 0.26029
}

Semantic roles & 50–950 ramp

primary
#8D9122
secondary
#5753BB
accent
#43E549
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D9122

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

Preview Lab → · Contrast checker → · Palette generator →

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