#8D9F25#8D9F25

#8D9F25 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.6% C 0.142 H 117.9°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8D9F25
RGBrgb(141, 159, 37)
HSLhsl(69, 62%, 38%)
HSVhsv(69, 77%, 62%)
CMYKcmyk(11.3%, 0%, 76.7%, 37.6%)
CIE-LABlab(62.16, -22.12, 56.98)
CIE-LCHlch(62.16, 61.12, 111.22°)
OKLaboklab(66.63% -0.0665 0.1254)
OKLCHoklch(66.63% 0.142 117.9)
XYZxyz(23.7171, 30.5928, 6.4055)
Luminance0.3059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9F25 #37259F
analogous
#9F7425 #8D9F25 #509F25
triadic
#8D9F25 #258D9F #9F258D
tetradic
#8D9F25 #259F74 #37259F #9F2550
square
#8D9F25 #259F74 #37259F #9F2550
split-complementary
#8D9F25 #25509F #74259F
monochromatic
#353C0E #616D19 #8D9F25 #B8CF32 #C9DB64

Accessibility & contrast

On white

2.95
#8D9F25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#8D9F25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D9F25
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9F25#FFFFFF#000000##000000
##8D9F251.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9606
Deuteranopia (green-blind)
#A89730
Tritanopia (blue-blind)
#969688
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8d9f25;
/* rgb */ color: rgb(141, 159, 37);
/* oklch */ color: oklch(66.6% 0.142 117.9);
Tailwind
colors: {
  custom: {
    50: '#b2bb6a',
    500: '#8d9f25',
    950: '#000000',
  },
}
SCSS
$custom: #8d9f25;
$custom-light: #b2bb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9f25",
  "rgb": {
    "r": 141,
    "g": 159,
    "b": 37
  },
  "hsl": {
    "h": 68.852,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66625,
    "c": 0.14193,
    "h": 117.9
  },
  "luminance": 0.30593
}

Semantic roles & 50–950 ramp

primary
#8D9F25
secondary
#6E5FC0
accent
#42E55B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9F25

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

Preview Lab → · Contrast checker → · Palette generator →

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