#8A8A1E#8A8A1E

#8A8A1E is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.4% C 0.124 H 109.5°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8A8A1E
RGBrgb(138, 138, 30)
HSLhsl(60, 64%, 33%)
HSVhsv(60, 78%, 54%)
CMYKcmyk(0%, 0%, 78.3%, 45.9%)
CIE-LABlab(55.76, -12.89, 53.30)
CIE-LCHlch(55.76, 54.83, 103.59°)
OKLaboklab(61.42% -0.0413 0.1164)
OKLCHoklch(61.42% 0.124 109.5)
XYZxyz(19.8048, 23.6746, 4.7544)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A1E #1E1E8A
analogous
#8A541E #8A8A1E #548A1E
triadic
#8A8A1E #1E8A8A #8A1E8A
tetradic
#8A8A1E #1E8A54 #1E1E8A #8A1E54
square
#8A8A1E #1E8A54 #1E1E8A #8A1E54
split-complementary
#8A8A1E #1E548A #541E8A
monochromatic
#252508 #585813 #8A8A1E #BCBC29 #D8D84B

Accessibility & contrast

On white

3.66
#8A8A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#8A8A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A1E
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A1E#FFFFFF#000000##000000
##8A8A1E1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968401
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#948176
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8a1e;
/* rgb */ color: rgb(138, 138, 30);
/* oklch */ color: oklch(61.4% 0.124 109.5);
Tailwind
colors: {
  custom: {
    50: '#b0ab64',
    500: '#8a8a1e',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a1e;
$custom-light: #b0ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a1e",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61421,
    "c": 0.12352,
    "h": 109.5
  },
  "luminance": 0.23674
}

Semantic roles & 50–950 ramp

primary
#8A8A1E
secondary
#4A4ABA
accent
#41E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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