#8A8D33#8A8D33

#8A8D33 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.3% C 0.112 H 111.1°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8A8D33
RGBrgb(138, 141, 51)
HSLhsl(62, 47%, 38%)
HSVhsv(62, 64%, 55%)
CMYKcmyk(2.1%, 0%, 63.8%, 44.7%)
CIE-LABlab(56.77, -13.32, 46.08)
CIE-LCHlch(56.77, 47.96, 106.13°)
OKLaboklab(62.28% -0.0404 0.1049)
OKLCHoklch(62.28% 0.112 111.1)
XYZxyz(20.6042, 24.6925, 6.8121)
Luminance0.2469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D33 #36338D
analogous
#8D6333 #8A8D33 #5D8D33
triadic
#8A8D33 #338A8D #8D338A
tetradic
#8A8D33 #338D63 #36338D #8D335D
square
#8A8D33 #338D63 #36338D #8D335D
split-complementary
#8A8D33 #335D8D #63338D
monochromatic
#323312 #5E6023 #8A8D33 #B6BA43 #C8CB6F

Accessibility & contrast

On white

3.54
#8A8D33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#8A8D33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D33
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D33#FFFFFF#000000##000000
##8A8D331.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988728
Deuteranopia (green-blind)
#988939
Tritanopia (blue-blind)
#93857A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8d33;
/* rgb */ color: rgb(138, 141, 51);
/* oklch */ color: oklch(62.3% 0.112 111.1);
Tailwind
colors: {
  custom: {
    50: '#afae6f',
    500: '#8a8d33',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d33;
$custom-light: #afae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d33",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 51
  },
  "hsl": {
    "h": 62,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62277,
    "c": 0.11238,
    "h": 111.1
  },
  "luminance": 0.24692
}

Semantic roles & 50–950 ramp

primary
#8A8D33
secondary
#6B69B3
accent
#51D756
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8D33

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

Preview Lab → · Contrast checker → · Palette generator →

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