#8B9A2F#8B9A2F

#8B9A2F is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.4% C 0.130 H 117.1°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8B9A2F
RGBrgb(139, 154, 47)
HSLhsl(68, 53%, 39%)
HSVhsv(68, 69%, 60%)
CMYKcmyk(9.7%, 0%, 69.5%, 39.6%)
CIE-LABlab(60.61, -19.92, 51.77)
CIE-LCHlch(60.61, 55.47, 111.05°)
OKLaboklab(65.36% -0.0593 0.1162)
OKLCHoklch(65.36% 0.13 117.1)
XYZxyz(22.7167, 28.8057, 7.0521)
Luminance0.2880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9A2F #3E2F9A
analogous
#9A742F #8B9A2F #569A2F
triadic
#8B9A2F #2F8B9A #9A2F8B
tetradic
#8B9A2F #2F9A74 #3E2F9A #9A2F56
square
#8B9A2F #2F9A74 #3E2F9A #9A2F56
split-complementary
#8B9A2F #2F569A #742F9A
monochromatic
#363C12 #616B21 #8B9A2F #B3C541 #C5D370

Accessibility & contrast

On white

3.11
#8B9A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#8B9A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9A2F
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9A2F#FFFFFF#000000##000000
##8B9A2F1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4921F
Deuteranopia (green-blind)
#A39337
Tritanopia (blue-blind)
#949185
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8b9a2f;
/* rgb */ color: rgb(139, 154, 47);
/* oklch */ color: oklch(65.4% 0.130 117.1);
Tailwind
colors: {
  custom: {
    50: '#b0b76e',
    500: '#8b9a2f',
    950: '#000000',
  },
}
SCSS
$custom: #8b9a2f;
$custom-light: #b0b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9a2f",
  "rgb": {
    "r": 139,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 68.411,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65359,
    "c": 0.13047,
    "h": 117.1
  },
  "luminance": 0.28805
}

Semantic roles & 50–950 ramp

primary
#8B9A2F
secondary
#756ABB
accent
#4BDD60
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8B9A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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