#8A8A30#8A8A30

#8A8A30 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.111 H 109.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8A8A30
RGBrgb(138, 138, 48)
HSLhsl(60, 48%, 36%)
HSVhsv(60, 65%, 54%)
CMYKcmyk(0%, 0%, 65.2%, 45.9%)
CIE-LABlab(55.88, -11.92, 46.46)
CIE-LCHlch(55.88, 47.96, 104.39°)
OKLaboklab(61.56% -0.0368 0.1052)
OKLCHoklch(61.56% 0.111 109.3)
XYZxyz(20.1039, 23.7942, 6.3295)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A30 #30308A
analogous
#8A5D30 #8A8A30 #5D8A30
triadic
#8A8A30 #308A8A #8A308A
tetradic
#8A8A30 #308A5D #30308A #8A305D
square
#8A8A30 #308A5D #30308A #8A305D
split-complementary
#8A8A30 #305D8A #5D308A
monochromatic
#2F2F10 #5D5D20 #8A8A30 #B7B740 #CBCB69

Accessibility & contrast

On white

3.65
#8A8A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8A8A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A30
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A30#FFFFFF#000000##000000
##8A8A301.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958424
Deuteranopia (green-blind)
#968736
Tritanopia (blue-blind)
#948177
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8a30;
/* rgb */ color: rgb(138, 138, 48);
/* oklch */ color: oklch(61.6% 0.111 109.3);
Tailwind
colors: {
  custom: {
    50: '#afac6d',
    500: '#8a8a30',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a30;
$custom-light: #afac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a30",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 60,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61556,
    "c": 0.11144,
    "h": 109.3
  },
  "luminance": 0.23794
}

Semantic roles & 50–950 ramp

primary
#8A8A30
secondary
#6464B2
accent
#50D850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8A30

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

Preview Lab → · Contrast checker → · Palette generator →

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