#8D902C#8D902C

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

Color values

HEX#8D902C
RGBrgb(141, 144, 44)
HSLhsl(62, 53%, 37%)
HSVhsv(62, 69%, 56%)
CMYKcmyk(2.1%, 0%, 69.4%, 43.5%)
CIE-LABlab(57.84, -14.03, 50.23)
CIE-LCHlch(57.84, 52.15, 105.61°)
OKLaboklab(63.17% -0.0433 0.1124)
OKLCHoklch(63.17% 0.12 111.1)
XYZxyz(21.4131, 25.7916, 6.2327)
Luminance0.2579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D902C #2F2C90
analogous
#90612C #8D902C #5B902C
triadic
#8D902C #2C8D90 #902C8D
tetradic
#8D902C #2C9061 #2F2C90 #902C5B
square
#8D902C #2C9061 #2F2C90 #902C5B
split-complementary
#8D902C #2C5B90 #612C90
monochromatic
#31320F #5F611E #8D902C #BBBF3A #CDD066

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D902C#FFFFFF#000000##000000
##8D902C1.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)
#9B8A1D
Deuteranopia (green-blind)
#9C8C33
Tritanopia (blue-blind)
#97877C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8d902c;
/* rgb */ color: rgb(141, 144, 44);
/* oklch */ color: oklch(63.2% 0.120 111.1);
Tailwind
colors: {
  custom: {
    50: '#b1b06c',
    500: '#8d902c',
    950: '#000000',
  },
}
SCSS
$custom: #8d902c;
$custom-light: #b1b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d902c",
  "rgb": {
    "r": 141,
    "g": 144,
    "b": 44
  },
  "hsl": {
    "h": 61.8,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63171,
    "c": 0.12046,
    "h": 111.1
  },
  "luminance": 0.25791
}

Semantic roles & 50–950 ramp

primary
#8D902C
secondary
#6461B7
accent
#4BDD50
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D902C

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

Preview Lab → · Contrast checker → · Palette generator →

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