#8D8A25#8D8A25

#8D8A25 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.7% C 0.119 H 107.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8D8A25
RGBrgb(141, 138, 37)
HSLhsl(58, 58%, 35%)
HSVhsv(58, 74%, 55%)
CMYKcmyk(0%, 2.1%, 73.8%, 44.7%)
CIE-LABlab(56.06, -11.21, 51.21)
CIE-LCHlch(56.06, 52.42, 102.35°)
OKLaboklab(61.74% -0.0361 0.1132)
OKLCHoklch(61.74% 0.119 107.7)
XYZxyz(20.4077, 23.9739, 5.3023)
Luminance0.2397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A25 #25288D
analogous
#8D5625 #8D8A25 #5C8D25
triadic
#8D8A25 #258D8A #8A258D
tetradic
#8D8A25 #258D56 #25288D #8D255C
square
#8D8A25 #258D56 #25288D #8D255C
split-complementary
#8D8A25 #255C8D #56258D
monochromatic
#2C2B0C #5D5B18 #8D8A25 #BDB932 #D3D059

Accessibility & contrast

On white

3.62
#8D8A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8D8A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A25
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A25#FFFFFF#000000##000000
##8D8A251.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968412
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#978176
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8a25;
/* rgb */ color: rgb(141, 138, 37);
/* oklch */ color: oklch(61.7% 0.119 107.7);
Tailwind
colors: {
  custom: {
    50: '#b2ab67',
    500: '#8d8a25',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a25;
$custom-light: #b2ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a25",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 58.269,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61737,
    "c": 0.11883,
    "h": 107.7
  },
  "luminance": 0.23973
}

Semantic roles & 50–950 ramp

primary
#8D8A25
secondary
#5659B8
accent
#4BE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8A25

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

Preview Lab → · Contrast checker → · Palette generator →

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