#8D9C25#8D9C25

#8D9C25 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 65.9% C 0.138 H 116.7°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8D9C25
RGBrgb(141, 156, 37)
HSLhsl(68, 62%, 38%)
HSVhsv(68, 76%, 61%)
CMYKcmyk(9.6%, 0%, 76.3%, 38.8%)
CIE-LABlab(61.28, -20.61, 56.16)
CIE-LCHlch(61.28, 59.82, 110.15°)
OKLaboklab(65.92% -0.0623 0.1237)
OKLCHoklch(65.92% 0.138 116.7)
XYZxyz(23.2075, 29.5735, 6.2356)
Luminance0.2957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9C25 #34259C
analogous
#9C6F25 #8D9C25 #519C25
triadic
#8D9C25 #258D9C #9C258D
tetradic
#8D9C25 #259C6F #34259C #9C2551
square
#8D9C25 #259C6F #34259C #9C2551
split-complementary
#8D9C25 #25519C #6F259C
monochromatic
#34390E #606B19 #8D9C25 #BACD31 #CBDA62

Accessibility & contrast

On white

3.04
#8D9C25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#8D9C25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9C25
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9C25#FFFFFF#000000##000000
##8D9C251.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79308
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#969386
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8d9c25;
/* rgb */ color: rgb(141, 156, 37);
/* oklch */ color: oklch(65.9% 0.138 116.7);
Tailwind
colors: {
  custom: {
    50: '#b2b969',
    500: '#8d9c25',
    950: '#000000',
  },
}
SCSS
$custom: #8d9c25;
$custom-light: #b2b969;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9c25",
  "rgb": {
    "r": 141,
    "g": 156,
    "b": 37
  },
  "hsl": {
    "h": 67.563,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6592,
    "c": 0.13847,
    "h": 116.7
  },
  "luminance": 0.29573
}

Semantic roles & 50–950 ramp

primary
#8D9C25
secondary
#6A5EBF
accent
#43E557
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9C25

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

Preview Lab → · Contrast checker → · Palette generator →

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