#8A8D1E#8A8D1E

#8A8D1E is a light, vivid yellow. Relative luminance 0.245; OKLCH L 62.1% C 0.127 H 111.2°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8A8D1E
RGBrgb(138, 141, 30)
HSLhsl(62, 65%, 34%)
HSVhsv(62, 79%, 55%)
CMYKcmyk(2.1%, 0%, 78.7%, 44.7%)
CIE-LABlab(56.63, -14.48, 54.09)
CIE-LCHlch(56.63, 55.99, 104.99°)
OKLaboklab(62.12% -0.0458 0.1181)
OKLCHoklch(62.12% 0.127 111.2)
XYZxyz(20.2412, 24.5473, 4.8999)
Luminance0.2455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D1E #211E8D
analogous
#8D581E #8A8D1E #528D1E
triadic
#8A8D1E #1E8A8D #8D1E8A
tetradic
#8A8D1E #1E8D58 #211E8D #8D1E52
square
#8A8D1E #1E8D58 #211E8D #8D1E52
split-complementary
#8A8D1E #1E528D #581E8D
monochromatic
#272809 #595B13 #8A8D1E #BBBF29 #D5D94C

Accessibility & contrast

On white

3.55
#8A8D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#8A8D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D1E
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D1E#FFFFFF#000000##000000
##8A8D1E1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#998928
Tritanopia (blue-blind)
#948478
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8d1e;
/* rgb */ color: rgb(138, 141, 30);
/* oklch */ color: oklch(62.1% 0.127 111.2);
Tailwind
colors: {
  custom: {
    50: '#b0ae64',
    500: '#8a8d1e',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d1e;
$custom-light: #b0ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d1e",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 61.622,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62117,
    "c": 0.12665,
    "h": 111.2
  },
  "luminance": 0.24547
}

Semantic roles & 50–950 ramp

primary
#8A8D1E
secondary
#4E4BBC
accent
#40E844
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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