#8A9334#8A9334

#8A9334 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 63.7% C 0.119 H 114.4°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8A9334
RGBrgb(138, 147, 52)
HSLhsl(66, 48%, 39%)
HSVhsv(66, 65%, 58%)
CMYKcmyk(6.1%, 0%, 64.6%, 42.4%)
CIE-LABlab(58.53, -16.42, 47.50)
CIE-LCHlch(58.53, 50.25, 109.07°)
OKLaboklab(63.68% -0.049 0.108)
OKLCHoklch(63.68% 0.119 114.4)
XYZxyz(21.5353, 26.5190, 7.2324)
Luminance0.2652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9334 #3D3493
analogous
#936D34 #8A9334 #5B9334
triadic
#8A9334 #348A93 #93348A
tetradic
#8A9334 #34936D #3D3493 #93345B
square
#8A9334 #34936D #3D3493 #93345B
split-complementary
#8A9334 #345B93 #6D3493
monochromatic
#353914 #606624 #8A9334 #B2BE46 #C5CE74

Accessibility & contrast

On white

3.33
#8A9334 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#8A9334 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9334
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9334#FFFFFF#000000##000000
##8A93341.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C28
Deuteranopia (green-blind)
#9D8E3A
Tritanopia (blue-blind)
#938B7F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a9334;
/* rgb */ color: rgb(138, 147, 52);
/* oklch */ color: oklch(63.7% 0.119 114.4);
Tailwind
colors: {
  custom: {
    50: '#afb270',
    500: '#8a9334',
    950: '#000000',
  },
}
SCSS
$custom: #8a9334;
$custom-light: #afb270;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9334",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 52
  },
  "hsl": {
    "h": 65.684,
    "s": 47.739,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63681,
    "c": 0.11861,
    "h": 114.4
  },
  "luminance": 0.26519
}

Semantic roles & 50–950 ramp

primary
#8A9334
secondary
#746DB6
accent
#50D75D
background
#FBFAF7
surface
#F6F5ED
border
#D0CFC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A9334

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

Preview Lab → · Contrast checker → · Palette generator →

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