#8A9641#8A9641

#8A9641 is a light, moderate yellow. Relative luminance 0.276; OKLCH L 64.5% C 0.111 H 116.3°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8A9641
RGBrgb(138, 150, 65)
HSLhsl(68, 40%, 42%)
HSVhsv(68, 57%, 59%)
CMYKcmyk(8%, 0%, 56.7%, 41.2%)
CIE-LABlab(59.52, -16.96, 42.61)
CIE-LCHlch(59.52, 45.86, 111.70°)
OKLaboklab(64.52% -0.0491 0.0993)
OKLCHoklch(64.52% 0.111 116.3)
XYZxyz(22.3421, 27.5979, 9.1499)
Luminance0.2760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9641 #4D4196
analogous
#967841 #8A9641 #5F9641
triadic
#8A9641 #418A96 #96418A
tetradic
#8A9641 #419678 #4D4196 #96415F
square
#8A9641 #419678 #4D4196 #96415F
split-complementary
#8A9641 #415F96 #784196
monochromatic
#3B411C #636B2E #8A9641 #ABB85C #C1CB87

Accessibility & contrast

On white

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

On black

6.52
#8A9641 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9641
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9641#FFFFFF#000000##000000
##8A96411.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8F38
Deuteranopia (green-blind)
#9E9046
Tritanopia (blue-blind)
#928E83
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a9641;
/* rgb */ color: rgb(138, 150, 65);
/* oklch */ color: oklch(64.5% 0.111 116.3);
Tailwind
colors: {
  custom: {
    50: '#aeb479',
    500: '#8a9641',
    950: '#000000',
  },
}
SCSS
$custom: #8a9641;
$custom-light: #aeb479;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9641",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 65
  },
  "hsl": {
    "h": 68.471,
    "s": 39.535,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6452,
    "c": 0.11081,
    "h": 116.3
  },
  "luminance": 0.27598
}

Semantic roles & 50–950 ramp

primary
#8A9641
secondary
#857DB6
accent
#58CF69
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#101109
muted
#7F807B

Preview Lab

Preview with #8A9641

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

Preview Lab → · Contrast checker → · Palette generator →

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