#8A9A2E#8A9A2E

#8A9A2E is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.3% C 0.132 H 117.5°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8A9A2E
RGBrgb(138, 154, 46)
HSLhsl(69, 54%, 39%)
HSVhsv(69, 70%, 60%)
CMYKcmyk(10.4%, 0%, 70.1%, 39.6%)
CIE-LABlab(60.53, -20.41, 52.05)
CIE-LCHlch(60.53, 55.91, 111.41°)
OKLaboklab(65.27% -0.0607 0.1167)
OKLCHoklch(65.27% 0.132 117.5)
XYZxyz(22.5305, 28.7120, 6.9393)
Luminance0.2871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A2E #3E2E9A
analogous
#9A742E #8A9A2E #549A2E
triadic
#8A9A2E #2E8A9A #9A2E8A
tetradic
#8A9A2E #2E9A74 #3E2E9A #9A2E54
square
#8A9A2E #2E9A74 #3E2E9A #9A2E54
split-complementary
#8A9A2E #2E549A #742E9A
monochromatic
#363C12 #606B20 #8A9A2E #B2C63F #C5D46F

Accessibility & contrast

On white

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

On black

6.74
#8A9A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9A2E
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9A2E#FFFFFF#000000##000000
##8A9A2E1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4921D
Deuteranopia (green-blind)
#A39336
Tritanopia (blue-blind)
#929185
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9a2e;
/* rgb */ color: rgb(138, 154, 46);
/* oklch */ color: oklch(65.3% 0.132 117.5);
Tailwind
colors: {
  custom: {
    50: '#afb76e',
    500: '#8a9a2e',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a2e;
$custom-light: #afb76e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a2e",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 46
  },
  "hsl": {
    "h": 68.889,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65271,
    "c": 0.13154,
    "h": 117.5
  },
  "luminance": 0.28712
}

Semantic roles & 50–950 ramp

primary
#8A9A2E
secondary
#7569BB
accent
#4ADD60
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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