#8B9C28#8B9C28

#8B9C28 is a light, vivid yellow. Relative luminance 0.294; OKLCH L 65.8% C 0.137 H 117.7°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8B9C28
RGBrgb(139, 156, 40)
HSLhsl(69, 59%, 38%)
HSVhsv(69, 74%, 61%)
CMYKcmyk(10.9%, 0%, 74.4%, 38.8%)
CIE-LABlab(61.15, -21.33, 54.94)
CIE-LCHlch(61.15, 58.93, 111.22°)
OKLaboklab(65.78% -0.0639 0.1217)
OKLCHoklch(65.78% 0.137 117.7)
XYZxyz(22.9195, 29.4193, 6.4782)
Luminance0.2942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9C28 #39289C
analogous
#9C7328 #8B9C28 #519C28
triadic
#8B9C28 #288B9C #9C288B
tetradic
#8B9C28 #289C73 #39289C #9C2851
square
#8B9C28 #289C73 #39289C #9C2851
split-complementary
#8B9C28 #28519C #73289C
monochromatic
#343B0F #606B1C #8B9C28 #B5CB36 #C7D867

Accessibility & contrast

On white

3.05
#8B9C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#8B9C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9C28
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9C28#FFFFFF#000000##000000
##8B9C281.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79310
Deuteranopia (green-blind)
#A59432
Tritanopia (blue-blind)
#949386
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8b9c28;
/* rgb */ color: rgb(139, 156, 40);
/* oklch */ color: oklch(65.8% 0.137 117.7);
Tailwind
colors: {
  custom: {
    50: '#b0b96b',
    500: '#8b9c28',
    950: '#000000',
  },
}
SCSS
$custom: #8b9c28;
$custom-light: #b0b96b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9c28",
  "rgb": {
    "r": 139,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 68.793,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65779,
    "c": 0.13745,
    "h": 117.7
  },
  "luminance": 0.29419
}

Semantic roles & 50–950 ramp

primary
#8B9C28
secondary
#6F62BE
accent
#45E25C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9C28

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

Preview Lab → · Contrast checker → · Palette generator →

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