#8A8F33#8A8F33

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

Color values

HEX#8A8F33
RGBrgb(138, 143, 51)
HSLhsl(63, 47%, 38%)
HSVhsv(63, 64%, 56%)
CMYKcmyk(3.5%, 0%, 64.3%, 43.9%)
CIE-LABlab(57.35, -14.38, 46.69)
CIE-LCHlch(57.35, 48.86, 107.12°)
OKLaboklab(62.74% -0.0434 0.1062)
OKLCHoklch(62.74% 0.115 112.2)
XYZxyz(20.9018, 25.2877, 6.9113)
Luminance0.2529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8F33 #38338F
analogous
#8F6633 #8A8F33 #5C8F33
triadic
#8A8F33 #338A8F #8F338A
tetradic
#8A8F33 #338F66 #38338F #8F335C
square
#8A8F33 #338F66 #38338F #8F335C
split-complementary
#8A8F33 #335C8F #66338F
monochromatic
#333513 #5E6223 #8A8F33 #B5BC43 #C7CC70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8F33#FFFFFF#000000##000000
##8A8F331.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)
#9A8927
Deuteranopia (green-blind)
#9A8B39
Tritanopia (blue-blind)
#93877C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a8f33;
/* rgb */ color: rgb(138, 143, 51);
/* oklch */ color: oklch(62.7% 0.115 112.2);
Tailwind
colors: {
  custom: {
    50: '#afaf6f',
    500: '#8a8f33',
    950: '#000000',
  },
}
SCSS
$custom: #8a8f33;
$custom-light: #afaf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8f33",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 51
  },
  "hsl": {
    "h": 63.261,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62741,
    "c": 0.11469,
    "h": 112.2
  },
  "luminance": 0.25287
}

Semantic roles & 50–950 ramp

primary
#8A8F33
secondary
#6E6AB4
accent
#51D758
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8F33

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

Preview Lab → · Contrast checker → · Palette generator →

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