#8D8F25#8D8F25

#8D8F25 is a light, vivid yellow. Relative luminance 0.254; OKLCH L 62.9% C 0.124 H 110.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8D8F25
RGBrgb(141, 143, 37)
HSLhsl(61, 59%, 35%)
HSVhsv(61, 74%, 56%)
CMYKcmyk(1.4%, 0%, 74.1%, 43.9%)
CIE-LABlab(57.50, -13.88, 52.59)
CIE-LCHlch(57.50, 54.39, 104.78°)
OKLaboklab(62.89% -0.0436 0.1161)
OKLCHoklch(62.89% 0.124 110.6)
XYZxyz(21.1416, 25.4418, 5.5470)
Luminance0.2544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8F25 #27258F
analogous
#8F5C25 #8D8F25 #588F25
triadic
#8D8F25 #258D8F #8F258D
tetradic
#8D8F25 #258F5C #27258F #8F2558
square
#8D8F25 #258F5C #27258F #8F2558
split-complementary
#8D8F25 #25588F #5C258F
monochromatic
#2D2E0C #5D5E18 #8D8F25 #BDC032 #D2D45A

Accessibility & contrast

On white

3.45
#8D8F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#8D8F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8F25
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8F25#FFFFFF#000000##000000
##8D8F251.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8910
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#97867B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d8f25;
/* rgb */ color: rgb(141, 143, 37);
/* oklch */ color: oklch(62.9% 0.124 110.6);
Tailwind
colors: {
  custom: {
    50: '#b2af68',
    500: '#8d8f25',
    950: '#000000',
  },
}
SCSS
$custom: #8d8f25;
$custom-light: #b2af68;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8f25",
  "rgb": {
    "r": 141,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 61.132,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62889,
    "c": 0.12404,
    "h": 110.6
  },
  "luminance": 0.25441
}

Semantic roles & 50–950 ramp

primary
#8D8F25
secondary
#5957B9
accent
#46E249
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8F25

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

Preview Lab → · Contrast checker → · Palette generator →

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