#8A8933#8A8933

#8A8933 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.4% C 0.108 H 108.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8A8933
RGBrgb(138, 137, 51)
HSLhsl(59, 46%, 37%)
HSVhsv(59, 63%, 54%)
CMYKcmyk(0%, 0.7%, 63%, 45.9%)
CIE-LABlab(55.62, -11.18, 44.84)
CIE-LCHlch(55.62, 46.21, 104.00°)
OKLaboklab(61.35% -0.0343 0.1022)
OKLCHoklch(61.35% 0.108 108.6)
XYZxyz(20.0251, 23.5342, 6.6190)
Luminance0.2353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8933 #33348A
analogous
#8A5D33 #8A8933 #608A33
triadic
#8A8933 #338A89 #89338A
tetradic
#8A8933 #338A5D #33348A #8A3360
square
#8A8933 #338A5D #33348A #8A3360
split-complementary
#8A8933 #33608A #5D338A
monochromatic
#313012 #5D5D22 #8A8933 #B7B544 #C9C86E

Accessibility & contrast

On white

3.68
#8A8933 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8A8933 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8933
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8933#FFFFFF#000000##000000
##8A89331.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948429
Deuteranopia (green-blind)
#958738
Tritanopia (blue-blind)
#948177
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a8933;
/* rgb */ color: rgb(138, 137, 51);
/* oklch */ color: oklch(61.4% 0.108 108.6);
Tailwind
colors: {
  custom: {
    50: '#afab6f',
    500: '#8a8933',
    950: '#000000',
  },
}
SCSS
$custom: #8a8933;
$custom-light: #afab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8933",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 51
  },
  "hsl": {
    "h": 59.31,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61354,
    "c": 0.10786,
    "h": 108.6
  },
  "luminance": 0.23534
}

Semantic roles & 50–950 ramp

primary
#8A8933
secondary
#6768B1
accent
#54D652
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8933

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

Preview Lab → · Contrast checker → · Palette generator →

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