#8A9843#8A9843

#8A9843 is a light, moderate yellow. Relative luminance 0.283; OKLCH L 65.0% C 0.111 H 117.4°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8A9843
RGBrgb(138, 152, 67)
HSLhsl(70, 39%, 43%)
HSVhsv(70, 56%, 60%)
CMYKcmyk(9.2%, 0%, 55.9%, 40.4%)
CIE-LABlab(60.13, -17.81, 42.34)
CIE-LCHlch(60.13, 45.93, 112.82°)
OKLaboklab(65.01% -0.0513 0.099)
OKLCHoklch(65.01% 0.111 117.4)
XYZxyz(22.7229, 28.2652, 9.5678)
Luminance0.2827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9843 #514398
analogous
#987B43 #8A9843 #609843
triadic
#8A9843 #438A98 #98438A
tetradic
#8A9843 #43987B #514398 #984360
square
#8A9843 #43987B #514398 #984360
split-complementary
#8A9843 #436098 #7B4398
monochromatic
#3D431E #636E30 #8A9843 #AAB960 #C1CB8A

Accessibility & contrast

On white

3.16
#8A9843 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#8A9843 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9843
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9843#FFFFFF#000000##000000
##8A98431.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1913A
Deuteranopia (green-blind)
#A09148
Tritanopia (blue-blind)
#919085
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9843;
/* rgb */ color: rgb(138, 152, 67);
/* oklch */ color: oklch(65.0% 0.111 117.4);
Tailwind
colors: {
  custom: {
    50: '#aeb67a',
    500: '#8a9843',
    950: '#000000',
  },
}
SCSS
$custom: #8a9843;
$custom-light: #aeb67a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9843",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 67
  },
  "hsl": {
    "h": 69.882,
    "s": 38.813,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65011,
    "c": 0.11148,
    "h": 117.4
  },
  "luminance": 0.28265
}

Semantic roles & 50–950 ramp

primary
#8A9843
secondary
#8980B6
accent
#59CF6C
background
#FAFBF7
surface
#F5F6EE
border
#CFD0C9
text
#101109
muted
#7F807B

Preview Lab

Preview with #8A9843

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

Preview Lab → · Contrast checker → · Palette generator →

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