#8A9C2D#8A9C2D

#8A9C2D 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#8A9C2D
RGBrgb(138, 156, 45)
HSLhsl(70, 55%, 39%)
HSVhsv(70, 71%, 61%)
CMYKcmyk(11.5%, 0%, 71.2%, 38.8%)
CIE-LABlab(61.11, -21.49, 53.02)
CIE-LCHlch(61.11, 57.21, 112.06°)
OKLaboklab(65.74% -0.0638 0.1185)
OKLCHoklch(65.74% 0.135 118.3)
XYZxyz(22.8438, 29.3699, 6.9476)
Luminance0.2937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9C2D #3F2D9C
analogous
#9C772D #8A9C2D #529C2D
triadic
#8A9C2D #2D8A9C #9C2D8A
tetradic
#8A9C2D #2D9C77 #3F2D9C #9C2D52
square
#8A9C2D #2D9C77 #3F2D9C #9C2D52
split-complementary
#8A9C2D #2D529C #772D9C
monochromatic
#363D12 #606D1F #8A9C2D #B1C83F #C5D56E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9C2D#FFFFFF#000000##000000
##8A9C2D1.003.056.876.87
#FFFFFF3.051.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a9c2d;
/* rgb */ color: rgb(138, 156, 45);
/* oklch */ color: oklch(65.7% 0.135 118.3);
Tailwind
colors: {
  custom: {
    50: '#afb96d',
    500: '#8a9c2d',
    950: '#000000',
  },
}
SCSS
$custom: #8a9c2d;
$custom-light: #afb96d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9c2d",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 69.73,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65735,
    "c": 0.13463,
    "h": 118.3
  },
  "luminance": 0.2937
}

Semantic roles & 50–950 ramp

primary
#8A9C2D
secondary
#7668BC
accent
#49DF61
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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