#8B9724#8B9724

#8B9724 is a light, vivid yellow. Relative luminance 0.278; OKLCH L 64.6% C 0.134 H 115.5°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8B9724
RGBrgb(139, 151, 36)
HSLhsl(66, 61%, 37%)
HSVhsv(66, 76%, 59%)
CMYKcmyk(7.9%, 0%, 76.2%, 40.8%)
CIE-LABlab(59.66, -18.98, 54.92)
CIE-LCHlch(59.66, 58.11, 109.06°)
OKLaboklab(64.58% -0.0578 0.1209)
OKLCHoklch(64.58% 0.134 115.5)
XYZxyz(22.0331, 27.7499, 5.8643)
Luminance0.2775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9724 #302497
analogous
#976A24 #8B9724 #529724
triadic
#8B9724 #248B97 #97248B
tetradic
#8B9724 #24976A #302497 #972452
square
#8B9724 #24976A #302497 #972452
split-complementary
#8B9724 #245297 #6A2497
monochromatic
#30340C #5E6618 #8B9724 #B8C830 #CCD85D

Accessibility & contrast

On white

3.21
#8B9724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#8B9724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9724
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9724#FFFFFF#000000##000000
##8B97241.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F09
Deuteranopia (green-blind)
#A1912E
Tritanopia (blue-blind)
#948E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8b9724;
/* rgb */ color: rgb(139, 151, 36);
/* oklch */ color: oklch(64.6% 0.134 115.5);
Tailwind
colors: {
  custom: {
    50: '#b0b568',
    500: '#8b9724',
    950: '#000000',
  },
}
SCSS
$custom: #8b9724;
$custom-light: #b0b568;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9724",
  "rgb": {
    "r": 139,
    "g": 151,
    "b": 36
  },
  "hsl": {
    "h": 66.261,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64576,
    "c": 0.13403,
    "h": 115.5
  },
  "luminance": 0.2775
}

Semantic roles & 50–950 ramp

primary
#8B9724
secondary
#645ABD
accent
#43E554
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9724

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

Preview Lab → · Contrast checker → · Palette generator →

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