#8A8F32#8A8F32

#8A8F32 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 62.7% C 0.116 H 112.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8A8F32
RGBrgb(138, 143, 50)
HSLhsl(63, 48%, 38%)
HSVhsv(63, 65%, 56%)
CMYKcmyk(3.5%, 0%, 65%, 43.9%)
CIE-LABlab(57.35, -14.45, 47.12)
CIE-LCHlch(57.35, 49.29, 107.05°)
OKLaboklab(62.73% -0.0437 0.1069)
OKLCHoklch(62.73% 0.116 112.2)
XYZxyz(20.8800, 25.2789, 6.7964)
Luminance0.2528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8F32 #37328F
analogous
#8F6532 #8A8F32 #5B8F32
triadic
#8A8F32 #328A8F #8F328A
tetradic
#8A8F32 #328F65 #37328F #8F325B
square
#8A8F32 #328F65 #37328F #8F325B
split-complementary
#8A8F32 #325B8F #65328F
monochromatic
#323412 #5E6222 #8A8F32 #B6BC42 #C8CD6F

Accessibility & contrast

On white

3.47
#8A8F32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#8A8F32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8F32
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8F32#FFFFFF#000000##000000
##8A8F321.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8926
Deuteranopia (green-blind)
#9A8B38
Tritanopia (blue-blind)
#93877C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a8f32;
/* rgb */ color: rgb(138, 143, 50);
/* oklch */ color: oklch(62.7% 0.116 112.2);
Tailwind
colors: {
  custom: {
    50: '#afaf6f',
    500: '#8a8f32',
    950: '#000000',
  },
}
SCSS
$custom: #8a8f32;
$custom-light: #afaf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8f32",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 50
  },
  "hsl": {
    "h": 63.226,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62731,
    "c": 0.11551,
    "h": 112.2
  },
  "luminance": 0.25278
}

Semantic roles & 50–950 ramp

primary
#8A8F32
secondary
#6D68B4
accent
#50D857
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8F32

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

Preview Lab → · Contrast checker → · Palette generator →

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