#8B9C2D#8B9C2D

#8B9C2D is a light, vivid yellow. Relative luminance 0.295; OKLCH L 65.8% C 0.134 H 117.8°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8B9C2D
RGBrgb(139, 156, 45)
HSLhsl(69, 55%, 39%)
HSVhsv(69, 71%, 61%)
CMYKcmyk(10.9%, 0%, 71.2%, 38.8%)
CIE-LABlab(61.18, -21.06, 53.12)
CIE-LCHlch(61.18, 57.14, 111.62°)
OKLaboklab(65.81% -0.0627 0.1187)
OKLCHoklch(65.81% 0.134 117.8)
XYZxyz(23.0101, 29.4556, 6.9554)
Luminance0.2945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9C2D #3E2D9C
analogous
#9C762D #8B9C2D #549C2D
triadic
#8B9C2D #2D8B9C #9C2D8B
tetradic
#8B9C2D #2D9C76 #3E2D9C #9C2D54
square
#8B9C2D #2D9C76 #3E2D9C #9C2D54
split-complementary
#8B9C2D #2D549C #762D9C
monochromatic
#363D12 #616D1F #8B9C2D #B3C83F #C5D56E

Accessibility & contrast

On white

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

On black

6.89
#8B9C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9C2D
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9C2D#FFFFFF#000000##000000
##8B9C2D1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7931A
Deuteranopia (green-blind)
#A59436
Tritanopia (blue-blind)
#939386
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8b9c2d;
/* rgb */ color: rgb(139, 156, 45);
/* oklch */ color: oklch(65.8% 0.134 117.8);
Tailwind
colors: {
  custom: {
    50: '#b0b96d',
    500: '#8b9c2d',
    950: '#000000',
  },
}
SCSS
$custom: #8b9c2d;
$custom-light: #b0b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9c2d",
  "rgb": {
    "r": 139,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 69.189,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65814,
    "c": 0.13426,
    "h": 117.8
  },
  "luminance": 0.29455
}

Semantic roles & 50–950 ramp

primary
#8B9C2D
secondary
#7568BC
accent
#49DF60
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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