#8B8E1A#8B8E1A

#8B8E1A is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.4% C 0.129 H 111.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8B8E1A
RGBrgb(139, 142, 26)
HSLhsl(62, 69%, 33%)
HSVhsv(62, 82%, 56%)
CMYKcmyk(2.1%, 0%, 81.7%, 44.3%)
CIE-LABlab(56.99, -14.71, 55.66)
CIE-LCHlch(56.99, 57.57, 104.81°)
OKLaboklab(62.42% -0.0468 0.1207)
OKLCHoklch(62.42% 0.129 111.2)
XYZxyz(20.5077, 24.9101, 4.7049)
Luminance0.2491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8E1A #1D1A8E
analogous
#8E571A #8B8E1A #518E1A
triadic
#8B8E1A #1A8B8E #8E1A8B
tetradic
#8B8E1A #1A8E57 #1D1A8E #8E1A51
square
#8B8E1A #1A8E57 #1D1A8E #8E1A51
split-complementary
#8B8E1A #1A518E #571A8E
monochromatic
#262707 #585A11 #8B8E1A #BEC223 #D9DD45

Accessibility & contrast

On white

3.51
#8B8E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8B8E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8E1A
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8E1A#FFFFFF#000000##000000
##8B8E1A1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b8e1a;
/* rgb */ color: rgb(139, 142, 26);
/* oklch */ color: oklch(62.4% 0.129 111.2);
Tailwind
colors: {
  custom: {
    50: '#b0ae63',
    500: '#8b8e1a',
    950: '#000000',
  },
}
SCSS
$custom: #8b8e1a;
$custom-light: #b0ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8e1a",
  "rgb": {
    "r": 139,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 61.552,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.62417,
    "c": 0.1294,
    "h": 111.2
  },
  "luminance": 0.2491
}

Semantic roles & 50–950 ramp

primary
#8B8E1A
secondary
#4945BE
accent
#3CEC40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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