#8B8D25#8B8D25

#8B8D25 is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.2% C 0.122 H 110.6°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8B8D25
RGBrgb(139, 141, 37)
HSLhsl(61, 58%, 35%)
HSVhsv(61, 74%, 55%)
CMYKcmyk(1.4%, 0%, 73.8%, 44.7%)
CIE-LABlab(56.76, -13.71, 51.81)
CIE-LCHlch(56.76, 53.60, 104.82°)
OKLaboklab(62.25% -0.043 0.1146)
OKLCHoklch(62.25% 0.122 110.6)
XYZxyz(20.5070, 24.6729, 5.4320)
Luminance0.2467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8D25 #27258D
analogous
#8D5B25 #8B8D25 #578D25
triadic
#8B8D25 #258B8D #8D258B
tetradic
#8B8D25 #258D5B #27258D #8D2557
square
#8B8D25 #258D5B #27258D #8D2557
split-complementary
#8B8D25 #25578D #5B258D
monochromatic
#2B2C0C #5B5D18 #8B8D25 #BBBD32 #D1D359

Accessibility & contrast

On white

3.54
#8B8D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#8B8D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8D25
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8D25#FFFFFF#000000##000000
##8B8D251.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988711
Deuteranopia (green-blind)
#998A2D
Tritanopia (blue-blind)
#958479
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8b8d25;
/* rgb */ color: rgb(139, 141, 37);
/* oklch */ color: oklch(62.2% 0.122 110.6);
Tailwind
colors: {
  custom: {
    50: '#b0ae68',
    500: '#8b8d25',
    950: '#000000',
  },
}
SCSS
$custom: #8b8d25;
$custom-light: #b0ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8d25",
  "rgb": {
    "r": 139,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 61.154,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62249,
    "c": 0.12237,
    "h": 110.6
  },
  "luminance": 0.24672
}

Semantic roles & 50–950 ramp

primary
#8B8D25
secondary
#5856B8
accent
#46E249
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8D25

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

Preview Lab → · Contrast checker → · Palette generator →

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