#8A8A3B#8A8A3B

#8A8A3B is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.102 H 109.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8A8A3B
RGBrgb(138, 138, 59)
HSLhsl(60, 40%, 39%)
HSVhsv(60, 57%, 54%)
CMYKcmyk(0%, 0%, 57.2%, 45.9%)
CIE-LABlab(55.98, -11.11, 41.49)
CIE-LCHlch(55.98, 42.95, 104.99°)
OKLaboklab(61.67% -0.0332 0.0962)
OKLCHoklch(61.67% 0.102 109)
XYZxyz(20.3597, 23.8965, 7.6768)
Luminance0.2390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A3B #3B3B8A
analogous
#8A623B #8A8A3B #628A3B
triadic
#8A8A3B #3B8A8A #8A3B8A
tetradic
#8A8A3B #3B8A62 #3B3B8A #8A3B62
square
#8A8A3B #3B8A62 #3B3B8A #8A3B62
split-complementary
#8A8A3B #3B628A #623B8A
monochromatic
#343416 #5F5F29 #8A8A3B #B4B44F #C6C679

Accessibility & contrast

On white

3.63
#8A8A3B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#8A8A3B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A3B
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A3B#FFFFFF#000000##000000
##8A8A3B1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948533
Deuteranopia (green-blind)
#95873F
Tritanopia (blue-blind)
#938279
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8a3b;
/* rgb */ color: rgb(138, 138, 59);
/* oklch */ color: oklch(61.7% 0.102 109.0);
Tailwind
colors: {
  custom: {
    50: '#aeac74',
    500: '#8a8a3b',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a3b;
$custom-light: #aeac74;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a3b",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 59
  },
  "hsl": {
    "h": 60,
    "s": 40.102,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61671,
    "c": 0.10179,
    "h": 109
  },
  "luminance": 0.23896
}

Semantic roles & 50–950 ramp

primary
#8A8A3B
secondary
#7171AF
accent
#58D058
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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