#8A9143#8A9143

#8A9143 is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.4% C 0.102 H 113.6°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8A9143
RGBrgb(138, 145, 67)
HSLhsl(65, 37%, 42%)
HSVhsv(65, 54%, 57%)
CMYKcmyk(4.8%, 0%, 53.8%, 43.1%)
CIE-LABlab(58.09, -14.15, 39.99)
CIE-LCHlch(58.09, 42.42, 109.49°)
OKLaboklab(63.38% -0.041 0.0939)
OKLCHoklch(63.38% 0.102 113.6)
XYZxyz(21.6202, 26.0597, 9.2002)
Luminance0.2606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9143 #4A4391
analogous
#917143 #8A9143 #639143
triadic
#8A9143 #438A91 #91438A
tetradic
#8A9143 #439171 #4A4391 #914363
square
#8A9143 #439171 #4A4391 #914363
split-complementary
#8A9143 #436391 #714391
monochromatic
#3A3D1C #626730 #8A9143 #ACB45D #C2C887

Accessibility & contrast

On white

3.38
#8A9143 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#8A9143 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9143
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9143#FFFFFF#000000##000000
##8A91431.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8B3B
Deuteranopia (green-blind)
#9A8C47
Tritanopia (blue-blind)
#92897F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a9143;
/* rgb */ color: rgb(138, 145, 67);
/* oklch */ color: oklch(63.4% 0.102 113.6);
Tailwind
colors: {
  custom: {
    50: '#aeb17a',
    500: '#8a9143',
    950: '#000000',
  },
}
SCSS
$custom: #8a9143;
$custom-light: #aeb17a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9143",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 67
  },
  "hsl": {
    "h": 65.385,
    "s": 36.792,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63383,
    "c": 0.10244,
    "h": 113.6
  },
  "luminance": 0.26059
}

Semantic roles & 50–950 ramp

primary
#8A9143
secondary
#827DB2
accent
#5BCD65
background
#FAFAF7
surface
#F5F4EE
border
#CFCEC9
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #8A9143

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

Preview Lab → · Contrast checker → · Palette generator →

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