#8A9638#8A9638

#8A9638 is a light, moderate yellow. Relative luminance 0.275; OKLCH L 64.4% C 0.119 H 116.0°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8A9638
RGBrgb(138, 150, 56)
HSLhsl(68, 46%, 40%)
HSVhsv(68, 63%, 59%)
CMYKcmyk(8%, 0%, 62.7%, 41.2%)
CIE-LABlab(59.44, -17.69, 46.70)
CIE-LCHlch(59.44, 49.94, 110.74°)
OKLaboklab(64.42% -0.0521 0.1069)
OKLCHoklch(64.42% 0.119 116)
XYZxyz(22.1018, 27.5018, 7.8847)
Luminance0.2750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9638 #443896
analogous
#967338 #8A9638 #5B9638
triadic
#8A9638 #388A96 #96388A
tetradic
#8A9638 #389673 #443896 #96385B
square
#8A9638 #389673 #443896 #96385B
split-complementary
#8A9638 #385B96 #733896
monochromatic
#383D17 #616927 #8A9638 #AFBD4E #C3CE7B

Accessibility & contrast

On white

3.23
#8A9638 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#8A9638 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9638
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9638#FFFFFF#000000##000000
##8A96381.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08F2D
Deuteranopia (green-blind)
#9F903E
Tritanopia (blue-blind)
#928E82
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a9638;
/* rgb */ color: rgb(138, 150, 56);
/* oklch */ color: oklch(64.4% 0.119 116.0);
Tailwind
colors: {
  custom: {
    50: '#aeb473',
    500: '#8a9638',
    950: '#000000',
  },
}
SCSS
$custom: #8a9638;
$custom-light: #aeb473;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9638",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 56
  },
  "hsl": {
    "h": 67.66,
    "s": 45.631,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64421,
    "c": 0.11893,
    "h": 116
  },
  "luminance": 0.27501
}

Semantic roles & 50–950 ramp

primary
#8A9638
secondary
#7C73B7
accent
#52D563
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9638

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

Preview Lab → · Contrast checker → · Palette generator →

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