#8B9C26#8B9C26

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

Color values

HEX#8B9C26
RGBrgb(139, 156, 38)
HSLhsl(69, 61%, 38%)
HSVhsv(69, 76%, 61%)
CMYKcmyk(10.9%, 0%, 75.6%, 38.8%)
CIE-LABlab(61.14, -21.43, 55.63)
CIE-LCHlch(61.14, 59.61, 111.07°)
OKLaboklab(65.77% -0.0644 0.1228)
OKLCHoklch(65.77% 0.139 117.7)
XYZxyz(22.8863, 29.4061, 6.3036)
Luminance0.2941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9C26 #37269C
analogous
#9C7226 #8B9C26 #509C26
triadic
#8B9C26 #268B9C #9C268B
tetradic
#8B9C26 #269C72 #37269C #9C2650
square
#8B9C26 #269C72 #37269C #9C2650
split-complementary
#8B9C26 #26509C #72269C
monochromatic
#333A0E #5F6B1A #8B9C26 #B7CD32 #C8D963

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B9C26#FFFFFF#000000##000000
##8B9C261.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)
#A7930B
Deuteranopia (green-blind)
#A59430
Tritanopia (blue-blind)
#949386
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8b9c26;
/* rgb */ color: rgb(139, 156, 38);
/* oklch */ color: oklch(65.8% 0.139 117.7);
Tailwind
colors: {
  custom: {
    50: '#b0b96a',
    500: '#8b9c26',
    950: '#000000',
  },
}
SCSS
$custom: #8b9c26;
$custom-light: #b0b96a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9c26",
  "rgb": {
    "r": 139,
    "g": 156,
    "b": 38
  },
  "hsl": {
    "h": 68.644,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.65766,
    "c": 0.13863,
    "h": 117.7
  },
  "luminance": 0.29406
}

Semantic roles & 50–950 ramp

primary
#8B9C26
secondary
#6D5FBF
accent
#44E45B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9C26

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

Preview Lab → · Contrast checker → · Palette generator →

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