#8A9C2C#8A9C2C

#8A9C2C is a light, vivid yellow. Relative luminance 0.294; OKLCH L 65.7% C 0.135 H 118.3°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8A9C2C
RGBrgb(138, 156, 44)
HSLhsl(70, 56%, 39%)
HSVhsv(70, 72%, 61%)
CMYKcmyk(11.5%, 0%, 71.8%, 38.8%)
CIE-LABlab(61.10, -21.54, 53.40)
CIE-LCHlch(61.10, 57.58, 111.97°)
OKLaboklab(65.73% -0.0641 0.1192)
OKLCHoklch(65.73% 0.135 118.3)
XYZxyz(22.8248, 29.3623, 6.8474)
Luminance0.2936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9C2C #3E2C9C
analogous
#9C762C #8A9C2C #529C2C
triadic
#8A9C2C #2C8A9C #9C2C8A
tetradic
#8A9C2C #2C9C76 #3E2C9C #9C2C52
square
#8A9C2C #2C9C76 #3E2C9C #9C2C52
split-complementary
#8A9C2C #2C529C #762C9C
monochromatic
#363D11 #606C1F #8A9C2C #B2C83D #C5D66D

Accessibility & contrast

On white

3.06
#8A9C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#8A9C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9C2C
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9C2C#FFFFFF#000000##000000
##8A9C2C1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69319
Deuteranopia (green-blind)
#A49435
Tritanopia (blue-blind)
#929386
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9c2c;
/* rgb */ color: rgb(138, 156, 44);
/* oklch */ color: oklch(65.7% 0.135 118.3);
Tailwind
colors: {
  custom: {
    50: '#afb96d',
    500: '#8a9c2c',
    950: '#000000',
  },
}
SCSS
$custom: #8a9c2c;
$custom-light: #afb96d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9c2c",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 44
  },
  "hsl": {
    "h": 69.643,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65728,
    "c": 0.1353,
    "h": 118.3
  },
  "luminance": 0.29362
}

Semantic roles & 50–950 ramp

primary
#8A9C2C
secondary
#7567BD
accent
#49DF61
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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