#8B9825#8B9825

#8B9825 is a light, vivid yellow. Relative luminance 0.281; OKLCH L 64.8% C 0.135 H 116.0°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8B9825
RGBrgb(139, 152, 37)
HSLhsl(67, 61%, 37%)
HSVhsv(67, 76%, 60%)
CMYKcmyk(8.6%, 0%, 75.7%, 40.4%)
CIE-LABlab(59.96, -19.45, 54.86)
CIE-LCHlch(59.96, 58.20, 109.52°)
OKLaboklab(64.82% -0.059 0.121)
OKLCHoklch(64.82% 0.135 116)
XYZxyz(22.2102, 28.0793, 5.9997)
Luminance0.2808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9825 #322598
analogous
#986C25 #8B9825 #519825
triadic
#8B9825 #258B98 #98258B
tetradic
#8B9825 #25986C #322598 #982551
square
#8B9825 #25986C #322598 #982551
split-complementary
#8B9825 #255198 #6C2598
monochromatic
#31360D #5E6719 #8B9825 #B8C931 #CAD85F

Accessibility & contrast

On white

3.17
#8B9825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#8B9825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9825
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9825#FFFFFF#000000##000000
##8B98251.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3900B
Deuteranopia (green-blind)
#A2912F
Tritanopia (blue-blind)
#948F82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8b9825;
/* rgb */ color: rgb(139, 152, 37);
/* oklch */ color: oklch(64.8% 0.135 116.0);
Tailwind
colors: {
  custom: {
    50: '#b0b669',
    500: '#8b9825',
    950: '#000000',
  },
}
SCSS
$custom: #8b9825;
$custom-light: #b0b669;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9825",
  "rgb": {
    "r": 139,
    "g": 152,
    "b": 37
  },
  "hsl": {
    "h": 66.783,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64817,
    "c": 0.1346,
    "h": 116
  },
  "luminance": 0.28079
}

Semantic roles & 50–950 ramp

primary
#8B9825
secondary
#675CBD
accent
#44E456
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9825

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

Preview Lab → · Contrast checker → · Palette generator →

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