#8D9725#8D9725

#8D9725 is a light, vivid yellow. Relative luminance 0.279; OKLCH L 64.7% C 0.133 H 114.6°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8D9725
RGBrgb(141, 151, 37)
HSLhsl(65, 61%, 37%)
HSVhsv(65, 75%, 59%)
CMYKcmyk(6.6%, 0%, 75.5%, 40.8%)
CIE-LABlab(59.83, -18.05, 54.79)
CIE-LCHlch(59.83, 57.69, 108.24°)
OKLaboklab(64.75% -0.0552 0.1208)
OKLCHoklch(64.75% 0.133 114.6)
XYZxyz(22.3857, 27.9299, 5.9617)
Luminance0.2793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9725 #2F2597
analogous
#976825 #8D9725 #549725
triadic
#8D9725 #258D97 #97258D
tetradic
#8D9725 #259768 #2F2597 #972554
square
#8D9725 #259768 #2F2597 #972554
split-complementary
#8D9725 #255497 #682597
monochromatic
#31350D #5F6619 #8D9725 #BBC831 #CDD85F

Accessibility & contrast

On white

3.19
#8D9725 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#8D9725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9725
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9725#FFFFFF#000000##000000
##8D97251.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F0C
Deuteranopia (green-blind)
#A2912F
Tritanopia (blue-blind)
#978E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8d9725;
/* rgb */ color: rgb(141, 151, 37);
/* oklch */ color: oklch(64.7% 0.133 114.6);
Tailwind
colors: {
  custom: {
    50: '#b2b569',
    500: '#8d9725',
    950: '#000000',
  },
}
SCSS
$custom: #8d9725;
$custom-light: #b2b569;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9725",
  "rgb": {
    "r": 141,
    "g": 151,
    "b": 37
  },
  "hsl": {
    "h": 65.263,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64748,
    "c": 0.1328,
    "h": 114.6
  },
  "luminance": 0.2793
}

Semantic roles & 50–950 ramp

primary
#8D9725
secondary
#645BBD
accent
#44E452
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9725

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

Preview Lab → · Contrast checker → · Palette generator →

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