#8A9249#8A9249

#8A9249 is a light, moderate yellow. Relative luminance 0.264; OKLCH L 63.7% C 0.098 H 114.4°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8A9249
RGBrgb(138, 146, 73)
HSLhsl(67, 33%, 43%)
HSVhsv(67, 50%, 57%)
CMYKcmyk(5.5%, 0%, 50%, 42.7%)
CIE-LABlab(58.45, -14.10, 37.39)
CIE-LCHlch(58.45, 39.96, 110.66°)
OKLaboklab(63.69% -0.0402 0.0888)
OKLCHoklch(63.69% 0.098 114.4)
XYZxyz(21.9630, 26.4424, 10.2489)
Luminance0.2644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9249 #514992
analogous
#927549 #8A9249 #669249
triadic
#8A9249 #498A92 #92498A
tetradic
#8A9249 #499275 #514992 #924966
square
#8A9249 #499275 #514992 #924966
split-complementary
#8A9249 #496692 #754992
monochromatic
#3D4020 #636935 #8A9249 #AAB266 #C1C78F

Accessibility & contrast

On white

3.34
#8A9249 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#8A9249 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9249
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9249#FFFFFF#000000##000000
##8A92491.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8C42
Deuteranopia (green-blind)
#9B8D4D
Tritanopia (blue-blind)
#918B81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a9249;
/* rgb */ color: rgb(138, 146, 73);
/* oklch */ color: oklch(63.7% 0.098 114.4);
Tailwind
colors: {
  custom: {
    50: '#aeb17e',
    500: '#8a9249',
    950: '#000000',
  },
}
SCSS
$custom: #8a9249;
$custom-light: #aeb17e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9249",
  "rgb": {
    "r": 138,
    "g": 146,
    "b": 73
  },
  "hsl": {
    "h": 66.575,
    "s": 33.333,
    "l": 42.941
  },
  "oklch": {
    "l": 0.63694,
    "c": 0.0975,
    "h": 114.4
  },
  "luminance": 0.26442
}

Semantic roles & 50–950 ramp

primary
#8A9249
secondary
#8984B3
accent
#5EC96A
background
#FAFAF7
surface
#F4F5EE
border
#CECFC9
text
#10100A
muted
#7F7F7C

Preview Lab

Preview with #8A9249

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

Preview Lab → · Contrast checker → · Palette generator →

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