#8A9333#8A9333

#8A9333 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#8A9333
RGBrgb(138, 147, 51)
HSLhsl(66, 48%, 39%)
HSVhsv(66, 65%, 58%)
CMYKcmyk(6.1%, 0%, 65.3%, 42.4%)
CIE-LABlab(58.52, -16.49, 47.92)
CIE-LCHlch(58.52, 50.68, 108.98°)
OKLaboklab(63.67% -0.0493 0.1088)
OKLCHoklch(63.67% 0.119 114.4)
XYZxyz(21.5130, 26.5101, 7.1150)
Luminance0.2651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9333 #3C3393
analogous
#936C33 #8A9333 #5A9333
triadic
#8A9333 #338A93 #93338A
tetradic
#8A9333 #33936C #3C3393 #93335A
square
#8A9333 #33936C #3C3393 #93335A
split-complementary
#8A9333 #335A93 #6C3393
monochromatic
#353813 #5F6623 #8A9333 #B3BE45 #C6CE72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9333#FFFFFF#000000##000000
##8A93331.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)
#9D8C26
Deuteranopia (green-blind)
#9D8E39
Tritanopia (blue-blind)
#938B7F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a9333;
/* rgb */ color: rgb(138, 147, 51);
/* oklch */ color: oklch(63.7% 0.119 114.4);
Tailwind
colors: {
  custom: {
    50: '#afb270',
    500: '#8a9333',
    950: '#000000',
  },
}
SCSS
$custom: #8a9333;
$custom-light: #afb270;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9333",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 51
  },
  "hsl": {
    "h": 65.625,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63672,
    "c": 0.11941,
    "h": 114.4
  },
  "luminance": 0.2651
}

Semantic roles & 50–950 ramp

primary
#8A9333
secondary
#736CB6
accent
#50D85D
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A9333

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

Preview Lab → · Contrast checker → · Palette generator →

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