#8A9645#8A9645

#8A9645 is a light, moderate yellow. Relative luminance 0.276; OKLCH L 64.6% C 0.107 H 116.5°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8A9645
RGBrgb(138, 150, 69)
HSLhsl(69, 37%, 43%)
HSVhsv(69, 54%, 59%)
CMYKcmyk(8%, 0%, 54%, 41.2%)
CIE-LABlab(59.57, -16.59, 40.71)
CIE-LCHlch(59.57, 43.97, 112.17°)
OKLaboklab(64.57% -0.0477 0.0957)
OKLCHoklch(64.57% 0.107 116.5)
XYZxyz(22.4621, 27.6459, 9.7820)
Luminance0.2765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9645 #514596
analogous
#967945 #8A9645 #619645
triadic
#8A9645 #458A96 #96458A
tetradic
#8A9645 #459679 #514596 #964561
square
#8A9645 #459679 #514596 #964561
split-complementary
#8A9645 #456196 #794596
monochromatic
#3D421E #636C32 #8A9645 #AAB762 #C1CA8C

Accessibility & contrast

On white

3.22
#8A9645 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#8A9645 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9645
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9645#FFFFFF#000000##000000
##8A96451.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8F3D
Deuteranopia (green-blind)
#9E904A
Tritanopia (blue-blind)
#918F84
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a9645;
/* rgb */ color: rgb(138, 150, 69);
/* oklch */ color: oklch(64.6% 0.107 116.5);
Tailwind
colors: {
  custom: {
    50: '#aeb47b',
    500: '#8a9645',
    950: '#000000',
  },
}
SCSS
$custom: #8a9645;
$custom-light: #aeb47b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9645",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 69
  },
  "hsl": {
    "h": 68.889,
    "s": 36.986,
    "l": 42.941
  },
  "oklch": {
    "l": 0.64569,
    "c": 0.10689,
    "h": 116.5
  },
  "luminance": 0.27646
}

Semantic roles & 50–950 ramp

primary
#8A9645
secondary
#8982B5
accent
#5BCD6C
background
#FAFBF7
surface
#F5F6EE
border
#CFD0C9
text
#101109
muted
#7F807B

Preview Lab

Preview with #8A9645

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

Preview Lab → · Contrast checker → · Palette generator →

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