#8D902A#8D902A

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

Color values

HEX#8D902A
RGBrgb(141, 144, 42)
HSLhsl(62, 55%, 36%)
HSVhsv(62, 71%, 56%)
CMYKcmyk(2.1%, 0%, 70.8%, 43.5%)
CIE-LABlab(57.82, -14.14, 51.01)
CIE-LCHlch(57.82, 52.93, 105.50°)
OKLaboklab(63.16% -0.0438 0.1137)
OKLCHoklch(63.16% 0.122 111.1)
XYZxyz(21.3764, 25.7770, 6.0394)
Luminance0.2578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D902A #2D2A90
analogous
#90602A #8D902A #5A902A
triadic
#8D902A #2A8D90 #902A8D
tetradic
#8D902A #2A9060 #2D2A90 #902A5A
square
#8D902A #2A9060 #2D2A90 #902A5A
split-complementary
#8D902A #2A5A90 #602A90
monochromatic
#30310E #5F611C #8D902A #BBBF38 #CED163

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D902A#FFFFFF#000000##000000
##8D902A1.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)
#9B8919
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#97877C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8d902a;
/* rgb */ color: rgb(141, 144, 42);
/* oklch */ color: oklch(63.2% 0.122 111.1);
Tailwind
colors: {
  custom: {
    50: '#b1b06a',
    500: '#8d902a',
    950: '#000000',
  },
}
SCSS
$custom: #8d902a;
$custom-light: #b1b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d902a",
  "rgb": {
    "r": 141,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 61.765,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63156,
    "c": 0.12186,
    "h": 111.1
  },
  "luminance": 0.25776
}

Semantic roles & 50–950 ramp

primary
#8D902A
secondary
#615EB7
accent
#4ADE4E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D902A

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

Preview Lab → · Contrast checker → · Palette generator →

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