#8A9451#8A9451

#8A9451 is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.3% C 0.091 H 116.0°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8A9451
RGBrgb(138, 148, 81)
HSLhsl(69, 29%, 45%)
HSVhsv(69, 45%, 58%)
CMYKcmyk(6.8%, 0%, 45.3%, 42%)
CIE-LABlab(59.14, -14.31, 34.09)
CIE-LCHlch(59.14, 36.97, 112.77°)
OKLaboklab(64.27% -0.04 0.0821)
OKLCHoklch(64.27% 0.091 116)
XYZxyz(22.5566, 27.1774, 11.8405)
Luminance0.2718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9451 #5B5194
analogous
#947C51 #8A9451 #699451
triadic
#8A9451 #518A94 #94518A
tetradic
#8A9451 #51947C #5B5194 #945169
square
#8A9451 #51947C #5B5194 #945169
split-complementary
#8A9451 #516994 #7C5194
monochromatic
#404526 #656C3B #8A9451 #A8B171 #C0C798

Accessibility & contrast

On white

3.26
#8A9451 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#8A9451 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9451
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9451#FFFFFF#000000##000000
##8A94511.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8E4C
Deuteranopia (green-blind)
#9B8F54
Tritanopia (blue-blind)
#918D84
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a9451;
/* rgb */ color: rgb(138, 148, 81);
/* oklch */ color: oklch(64.3% 0.091 116.0);
Tailwind
colors: {
  custom: {
    50: '#adb383',
    500: '#8a9451',
    950: '#000000',
  },
}
SCSS
$custom: #8a9451;
$custom-light: #adb383;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9451",
  "rgb": {
    "r": 138,
    "g": 148,
    "b": 81
  },
  "hsl": {
    "h": 68.955,
    "s": 29.258,
    "l": 44.902
  },
  "oklch": {
    "l": 0.64274,
    "c": 0.09137,
    "h": 116
  },
  "luminance": 0.27177
}

Semantic roles & 50–950 ramp

primary
#8A9451
secondary
#938DB4
accent
#62C671
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110B
muted
#7F807C

Preview Lab

Preview with #8A9451

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

Preview Lab → · Contrast checker → · Palette generator →

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