#8A9B2F#8A9B2F

#8A9B2F is a light, vivid yellow. Relative luminance 0.291; OKLCH L 65.5% C 0.132 H 118.0°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8A9B2F
RGBrgb(138, 155, 47)
HSLhsl(69, 53%, 40%)
HSVhsv(69, 70%, 61%)
CMYKcmyk(11%, 0%, 69.7%, 39.2%)
CIE-LABlab(60.83, -20.86, 51.96)
CIE-LCHlch(60.83, 55.99, 111.87°)
OKLaboklab(65.52% -0.0619 0.1166)
OKLCHoklch(65.52% 0.132 118)
XYZxyz(22.7161, 29.0514, 7.0996)
Luminance0.2905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B2F #402F9B
analogous
#9B762F #8A9B2F #549B2F
triadic
#8A9B2F #2F8A9B #9B2F8A
tetradic
#8A9B2F #2F9B76 #402F9B #9B2F54
square
#8A9B2F #2F9B76 #402F9B #9B2F54
split-complementary
#8A9B2F #2F549B #762F9B
monochromatic
#363D13 #606C21 #8A9B2F #B1C642 #C4D471

Accessibility & contrast

On white

3.08
#8A9B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#8A9B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B2F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B2F#FFFFFF#000000##000000
##8A9B2F1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5931E
Deuteranopia (green-blind)
#A49337
Tritanopia (blue-blind)
#929285
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9b2f;
/* rgb */ color: rgb(138, 155, 47);
/* oklch */ color: oklch(65.5% 0.132 118.0);
Tailwind
colors: {
  custom: {
    50: '#afb86e',
    500: '#8a9b2f',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b2f;
$custom-light: #afb86e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b2f",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 69.444,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65515,
    "c": 0.13204,
    "h": 118
  },
  "luminance": 0.29051
}

Semantic roles & 50–950 ramp

primary
#8A9B2F
secondary
#776ABB
accent
#4BDD62
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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