#8A8E1A#8A8E1A

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

Color values

HEX#8A8E1A
RGBrgb(138, 142, 26)
HSLhsl(62, 69%, 33%)
HSVhsv(62, 82%, 56%)
CMYKcmyk(2.8%, 0%, 81.7%, 44.3%)
CIE-LABlab(56.90, -15.16, 55.55)
CIE-LCHlch(56.90, 57.59, 105.27°)
OKLaboklab(62.33% -0.048 0.1205)
OKLCHoklch(62.33% 0.13 111.7)
XYZxyz(20.3414, 24.8244, 4.6971)
Luminance0.2482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8E1A #1E1A8E
analogous
#8E581A #8A8E1A #508E1A
triadic
#8A8E1A #1A8A8E #8E1A8A
tetradic
#8A8E1A #1A8E58 #1E1A8E #8E1A50
square
#8A8E1A #1A8E58 #1E1A8E #8E1A50
split-complementary
#8A8E1A #1A508E #581A8E
monochromatic
#252707 #585A11 #8A8E1A #BCC223 #D8DD45

Accessibility & contrast

On white

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

On black

5.96
#8A8E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8E1A
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8E1A#FFFFFF#000000##000000
##8A8E1A1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a8e1a;
/* rgb */ color: rgb(138, 142, 26);
/* oklch */ color: oklch(62.3% 0.130 111.7);
Tailwind
colors: {
  custom: {
    50: '#b0ae63',
    500: '#8a8e1a',
    950: '#000000',
  },
}
SCSS
$custom: #8a8e1a;
$custom-light: #b0ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8e1a",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 62.069,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.62329,
    "c": 0.12967,
    "h": 111.7
  },
  "luminance": 0.24824
}

Semantic roles & 50–950 ramp

primary
#8A8E1A
secondary
#4A45BE
accent
#3CEC42
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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