#8A993B#8A993B

#8A993B is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.2% C 0.120 H 117.5°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8A993B
RGBrgb(138, 153, 59)
HSLhsl(70, 44%, 42%)
HSVhsv(70, 61%, 60%)
CMYKcmyk(9.8%, 0%, 61.4%, 40%)
CIE-LABlab(60.34, -19.00, 46.33)
CIE-LCHlch(60.34, 50.08, 112.30°)
OKLaboklab(65.16% -0.0555 0.1065)
OKLCHoklch(65.16% 0.12 117.5)
XYZxyz(22.6623, 28.5017, 8.4444)
Luminance0.2850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A993B #4A3B99
analogous
#99793B #8A993B #5B993B
triadic
#8A993B #3B8A99 #993B8A
tetradic
#8A993B #3B9979 #4A3B99 #993B5B
square
#8A993B #3B9979 #4A3B99 #993B5B
split-complementary
#8A993B #3B5B99 #793B99
monochromatic
#3A4119 #626D2A #8A993B #ACBD54 #C2CE80

Accessibility & contrast

On white

3.13
#8A993B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#8A993B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A993B
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A993B#FFFFFF#000000##000000
##8A993B1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39130
Deuteranopia (green-blind)
#A19241
Tritanopia (blue-blind)
#929185
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a993b;
/* rgb */ color: rgb(138, 153, 59);
/* oklch */ color: oklch(65.2% 0.120 117.5);
Tailwind
colors: {
  custom: {
    50: '#aeb775',
    500: '#8a993b',
    950: '#000000',
  },
}
SCSS
$custom: #8a993b;
$custom-light: #aeb775;
$custom-dark: #000000;
JSON
{
  "hex": "#8a993b",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 59
  },
  "hsl": {
    "h": 69.574,
    "s": 44.34,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65155,
    "c": 0.12012,
    "h": 117.5
  },
  "luminance": 0.28502
}

Semantic roles & 50–950 ramp

primary
#8A993B
secondary
#8278B8
accent
#54D468
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #8A993B

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

Preview Lab → · Contrast checker → · Palette generator →

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