#8D902F#8D902F

#8D902F is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.2% C 0.118 H 111.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8D902F
RGBrgb(141, 144, 47)
HSLhsl(62, 51%, 37%)
HSVhsv(62, 67%, 56%)
CMYKcmyk(2.1%, 0%, 67.4%, 43.5%)
CIE-LABlab(57.86, -13.85, 49.02)
CIE-LCHlch(57.86, 50.94, 105.78°)
OKLaboklab(63.2% -0.0425 0.1104)
OKLCHoklch(63.2% 0.118 111.1)
XYZxyz(21.4715, 25.8150, 6.5405)
Luminance0.2581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D902F #322F90
analogous
#90632F #8D902F #5C902F
triadic
#8D902F #2F8D90 #902F8D
tetradic
#8D902F #2F9063 #322F90 #902F5C
square
#8D902F #2F9063 #322F90 #902F5C
split-complementary
#8D902F #2F5C90 #632F90
monochromatic
#333411 #606220 #8D902F #BABE3E #CCCF6B

Accessibility & contrast

On white

3.41
#8D902F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#8D902F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D902F
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D902F#FFFFFF#000000##000000
##8D902F1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A21
Deuteranopia (green-blind)
#9C8C36
Tritanopia (blue-blind)
#97877C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8d902f;
/* rgb */ color: rgb(141, 144, 47);
/* oklch */ color: oklch(63.2% 0.118 111.1);
Tailwind
colors: {
  custom: {
    50: '#b1b06d',
    500: '#8d902f',
    950: '#000000',
  },
}
SCSS
$custom: #8d902f;
$custom-light: #b1b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d902f",
  "rgb": {
    "r": 141,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 61.856,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63196,
    "c": 0.11826,
    "h": 111.1
  },
  "luminance": 0.25814
}

Semantic roles & 50–950 ramp

primary
#8D902F
secondary
#6865B6
accent
#4EDA52
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D902F

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

Preview Lab → · Contrast checker → · Palette generator →

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