#8A963B#8A963B

#8A963B is a light, moderate yellow. Relative luminance 0.275; OKLCH L 64.5% C 0.116 H 116.1°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8A963B
RGBrgb(138, 150, 59)
HSLhsl(68, 44%, 41%)
HSVhsv(68, 61%, 59%)
CMYKcmyk(8%, 0%, 60.7%, 41.2%)
CIE-LABlab(59.46, -17.46, 45.37)
CIE-LCHlch(59.46, 48.61, 111.05°)
OKLaboklab(64.45% -0.0511 0.1045)
OKLCHoklch(64.45% 0.116 116.1)
XYZxyz(22.1774, 27.5320, 8.2827)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A963B #473B96
analogous
#96743B #8A963B #5C963B
triadic
#8A963B #3B8A96 #963B8A
tetradic
#8A963B #3B9674 #473B96 #963B5C
square
#8A963B #3B9674 #473B96 #963B5C
split-complementary
#8A963B #3B5C96 #743B96
monochromatic
#393E18 #626A2A #8A963B #AEBB53 #C2CD7F

Accessibility & contrast

On white

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

On black

6.51
#8A963B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A963B
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A963B#FFFFFF#000000##000000
##8A963B1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a963b;
/* rgb */ color: rgb(138, 150, 59);
/* oklch */ color: oklch(64.5% 0.116 116.1);
Tailwind
colors: {
  custom: {
    50: '#aeb475',
    500: '#8a963b',
    950: '#000000',
  },
}
SCSS
$custom: #8a963b;
$custom-light: #aeb475;
$custom-dark: #000000;
JSON
{
  "hex": "#8a963b",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 59
  },
  "hsl": {
    "h": 67.912,
    "s": 43.541,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64452,
    "c": 0.11634,
    "h": 116.1
  },
  "luminance": 0.27532
}

Semantic roles & 50–950 ramp

primary
#8A963B
secondary
#7F77B6
accent
#55D365
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A963B

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

Preview Lab → · Contrast checker → · Palette generator →

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