#8A8E33#8A8E33

#8A8E33 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.5% C 0.114 H 111.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8A8E33
RGBrgb(138, 142, 51)
HSLhsl(63, 47%, 38%)
HSVhsv(63, 64%, 56%)
CMYKcmyk(2.8%, 0%, 64.1%, 44.3%)
CIE-LABlab(57.06, -13.85, 46.38)
CIE-LCHlch(57.06, 48.41, 106.63°)
OKLaboklab(62.51% -0.0419 0.1055)
OKLCHoklch(62.51% 0.114 111.7)
XYZxyz(20.7524, 24.9888, 6.8615)
Luminance0.2499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8E33 #37338E
analogous
#8E6433 #8A8E33 #5D8E33
triadic
#8A8E33 #338A8E #8E338A
tetradic
#8A8E33 #338E64 #37338E #8E335D
square
#8A8E33 #338E64 #37338E #8E335D
split-complementary
#8A8E33 #335D8E #64338E
monochromatic
#323413 #5E6123 #8A8E33 #B6BB43 #C8CC70

Accessibility & contrast

On white

3.50
#8A8E33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8A8E33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8E33
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8E33#FFFFFF#000000##000000
##8A8E331.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998828
Deuteranopia (green-blind)
#998A39
Tritanopia (blue-blind)
#93867B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8e33;
/* rgb */ color: rgb(138, 142, 51);
/* oklch */ color: oklch(62.5% 0.114 111.7);
Tailwind
colors: {
  custom: {
    50: '#afae6f',
    500: '#8a8e33',
    950: '#000000',
  },
}
SCSS
$custom: #8a8e33;
$custom-light: #afae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8e33",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 51
  },
  "hsl": {
    "h": 62.637,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62509,
    "c": 0.11353,
    "h": 111.7
  },
  "luminance": 0.24988
}

Semantic roles & 50–950 ramp

primary
#8A8E33
secondary
#6D69B4
accent
#51D757
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8E33

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

Preview Lab → · Contrast checker → · Palette generator →

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