#8D902E#8D902E

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

Color values

HEX#8D902E
RGBrgb(141, 144, 46)
HSLhsl(62, 52%, 37%)
HSVhsv(62, 68%, 56%)
CMYKcmyk(2.1%, 0%, 68.1%, 43.5%)
CIE-LABlab(57.85, -13.91, 49.43)
CIE-LCHlch(57.85, 51.35, 105.72°)
OKLaboklab(63.19% -0.0428 0.1111)
OKLCHoklch(63.19% 0.119 111.1)
XYZxyz(21.4516, 25.8070, 6.4355)
Luminance0.2581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D902E #312E90
analogous
#90622E #8D902E #5C902E
triadic
#8D902E #2E8D90 #902E8D
tetradic
#8D902E #2E9062 #312E90 #902E5C
square
#8D902E #2E9062 #312E90 #902E5C
split-complementary
#8D902E #2E5C90 #622E90
monochromatic
#323310 #60621F #8D902E #BABE3D #CCCF69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D902E#FFFFFF#000000##000000
##8D902E1.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)
#9B8A20
Deuteranopia (green-blind)
#9C8C35
Tritanopia (blue-blind)
#97877C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8d902e;
/* rgb */ color: rgb(141, 144, 46);
/* oklch */ color: oklch(63.2% 0.119 111.1);
Tailwind
colors: {
  custom: {
    50: '#b1b06d',
    500: '#8d902e',
    950: '#000000',
  },
}
SCSS
$custom: #8d902e;
$custom-light: #b1b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d902e",
  "rgb": {
    "r": 141,
    "g": 144,
    "b": 46
  },
  "hsl": {
    "h": 61.837,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63188,
    "c": 0.11901,
    "h": 111.1
  },
  "luminance": 0.25806
}

Semantic roles & 50–950 ramp

primary
#8D902E
secondary
#6664B6
accent
#4DDB51
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D902E

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

Preview Lab → · Contrast checker → · Palette generator →

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