#8A8E1D#8A8E1D

#8A8E1D is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.3% C 0.128 H 111.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8A8E1D
RGBrgb(138, 142, 29)
HSLhsl(62, 66%, 34%)
HSVhsv(62, 80%, 56%)
CMYKcmyk(2.8%, 0%, 79.6%, 44.3%)
CIE-LABlab(56.92, -15.05, 54.66)
CIE-LCHlch(56.92, 56.70, 105.39°)
OKLaboklab(62.34% -0.0474 0.1191)
OKLCHoklch(62.34% 0.128 111.7)
XYZxyz(20.3767, 24.8385, 4.8831)
Luminance0.2484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8E1D #211D8E
analogous
#8E591D #8A8E1D #518E1D
triadic
#8A8E1D #1D8A8E #8E1D8A
tetradic
#8A8E1D #1D8E59 #211D8E #8E1D51
square
#8A8E1D #1D8E59 #211D8E #8E1D51
split-complementary
#8A8E1D #1D518E #591D8E
monochromatic
#272808 #595B13 #8A8E1D #BBC127 #D5DA4B

Accessibility & contrast

On white

3.52
#8A8E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#8A8E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8E1D
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8E1D#FFFFFF#000000##000000
##8A8E1D1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9A8A27
Tritanopia (blue-blind)
#948579
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8e1d;
/* rgb */ color: rgb(138, 142, 29);
/* oklch */ color: oklch(62.3% 0.128 111.7);
Tailwind
colors: {
  custom: {
    50: '#b0ae64',
    500: '#8a8e1d',
    950: '#000000',
  },
}
SCSS
$custom: #8a8e1d;
$custom-light: #b0ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8e1d",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 62.124,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62345,
    "c": 0.12822,
    "h": 111.7
  },
  "luminance": 0.24838
}

Semantic roles & 50–950 ramp

primary
#8A8E1D
secondary
#4E4ABD
accent
#3FE945
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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