#8A9B2B#8A9B2B

#8A9B2B is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.5% C 0.135 H 117.8°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8A9B2B
RGBrgb(138, 155, 43)
HSLhsl(69, 57%, 39%)
HSVhsv(69, 72%, 61%)
CMYKcmyk(11%, 0%, 72.3%, 39.2%)
CIE-LABlab(60.80, -21.09, 53.48)
CIE-LCHlch(60.80, 57.49, 111.53°)
OKLaboklab(65.48% -0.0629 0.1192)
OKLCHoklch(65.48% 0.135 117.8)
XYZxyz(22.6391, 29.0206, 6.6939)
Luminance0.2902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B2B #3C2B9B
analogous
#9B742B #8A9B2B #529B2B
triadic
#8A9B2B #2B8A9B #9B2B8A
tetradic
#8A9B2B #2B9B74 #3C2B9B #9B2B52
square
#8A9B2B #2B9B74 #3C2B9B #9B2B52
split-complementary
#8A9B2B #2B529B #742B9B
monochromatic
#353B10 #5F6B1E #8A9B2B #B3C93B #C6D66B

Accessibility & contrast

On white

3.09
#8A9B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#8A9B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B2B
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B2B#FFFFFF#000000##000000
##8A9B2B1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59217
Deuteranopia (green-blind)
#A49334
Tritanopia (blue-blind)
#939285
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9b2b;
/* rgb */ color: rgb(138, 155, 43);
/* oklch */ color: oklch(65.5% 0.135 117.8);
Tailwind
colors: {
  custom: {
    50: '#afb86c',
    500: '#8a9b2b',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b2b;
$custom-light: #afb86c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b2b",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 43
  },
  "hsl": {
    "h": 69.107,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65484,
    "c": 0.13476,
    "h": 117.8
  },
  "luminance": 0.2902
}

Semantic roles & 50–950 ramp

primary
#8A9B2B
secondary
#7365BC
accent
#48E05F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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