#8A8B33#8A8B33

#8A8B33 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.110 H 109.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8A8B33
RGBrgb(138, 139, 51)
HSLhsl(61, 46%, 37%)
HSVhsv(61, 63%, 55%)
CMYKcmyk(0.7%, 0%, 63.3%, 45.5%)
CIE-LABlab(56.20, -12.26, 45.46)
CIE-LCHlch(56.20, 47.08, 105.09°)
OKLaboklab(61.82% -0.0374 0.1036)
OKLCHoklch(61.82% 0.11 109.8)
XYZxyz(20.3120, 24.1081, 6.7147)
Luminance0.2411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8B33 #34338B
analogous
#8B6033 #8A8B33 #5E8B33
triadic
#8A8B33 #338A8B #8B338A
tetradic
#8A8B33 #338B60 #34338B #8B335E
square
#8A8B33 #338B60 #34338B #8B335E
split-complementary
#8A8B33 #335E8B #60338B
monochromatic
#313112 #5E5E23 #8A8B33 #B6B843 #C9CA6E

Accessibility & contrast

On white

3.61
#8A8B33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8A8B33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8B33
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8B33#FFFFFF#000000##000000
##8A8B331.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968528
Deuteranopia (green-blind)
#978838
Tritanopia (blue-blind)
#938379
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a8b33;
/* rgb */ color: rgb(138, 139, 51);
/* oklch */ color: oklch(61.8% 0.110 109.8);
Tailwind
colors: {
  custom: {
    50: '#afac6f',
    500: '#8a8b33',
    950: '#000000',
  },
}
SCSS
$custom: #8a8b33;
$custom-light: #afac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8b33",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 51
  },
  "hsl": {
    "h": 60.682,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61815,
    "c": 0.1101,
    "h": 109.8
  },
  "luminance": 0.24108
}

Semantic roles & 50–950 ramp

primary
#8A8B33
secondary
#6968B2
accent
#52D653
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8B33

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

Preview Lab → · Contrast checker → · Palette generator →

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