#8B8A1E#8B8A1E

#8B8A1E is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.5% C 0.123 H 109.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8B8A1E
RGBrgb(139, 138, 30)
HSLhsl(59, 64%, 33%)
HSVhsv(59, 78%, 55%)
CMYKcmyk(0%, 0.7%, 78.4%, 45.5%)
CIE-LABlab(55.85, -12.43, 53.41)
CIE-LCHlch(55.85, 54.84, 103.11°)
OKLaboklab(61.51% -0.0401 0.1166)
OKLCHoklch(61.51% 0.123 109)
XYZxyz(19.9711, 23.7603, 4.7622)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8A1E #1E1F8B
analogous
#8B541E #8B8A1E #558B1E
triadic
#8B8A1E #1E8B8A #8A1E8B
tetradic
#8B8A1E #1E8B54 #1E1F8B #8B1E55
square
#8B8A1E #1E8B54 #1E1F8B #8B1E55
split-complementary
#8B8A1E #1E558B #541E8B
monochromatic
#262608 #595813 #8B8A1E #BDBC29 #D8D74B

Accessibility & contrast

On white

3.65
#8B8A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8B8A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8A1E
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8A1E#FFFFFF#000000##000000
##8B8A1E1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b8a1e;
/* rgb */ color: rgb(139, 138, 30);
/* oklch */ color: oklch(61.5% 0.123 109.0);
Tailwind
colors: {
  custom: {
    50: '#b0ab64',
    500: '#8b8a1e',
    950: '#000000',
  },
}
SCSS
$custom: #8b8a1e;
$custom-light: #b0ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8a1e",
  "rgb": {
    "r": 139,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 59.45,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.61511,
    "c": 0.12331,
    "h": 109
  },
  "luminance": 0.2376
}

Semantic roles & 50–950 ramp

primary
#8B8A1E
secondary
#4A4BBB
accent
#42E740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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