#8B9E1C#8B9E1C

#8B9E1C is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.2% C 0.146 H 118.2°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8B9E1C
RGBrgb(139, 158, 28)
HSLhsl(69, 70%, 36%)
HSVhsv(69, 82%, 62%)
CMYKcmyk(12%, 0%, 82.3%, 38%)
CIE-LABlab(61.68, -22.86, 59.21)
CIE-LCHlch(61.68, 63.46, 111.11°)
OKLaboklab(66.18% -0.0691 0.1286)
OKLCHoklch(66.18% 0.146 118.2)
XYZxyz(23.0845, 30.0267, 5.6780)
Luminance0.3003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9E1C #2F1C9E
analogous
#9E701C #8B9E1C #4A9E1C
triadic
#8B9E1C #1C8B9E #9E1C8B
tetradic
#8B9E1C #1C9E70 #2F1C9E #9E1C4A
square
#8B9E1C #1C9E70 #2F1C9E #9E1C4A
split-complementary
#8B9E1C #1C4A9E #701C9E
monochromatic
#30360A #5D6A13 #8B9E1C #B9D225 #CCE154

Accessibility & contrast

On white

3.00
#8B9E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#8B9E1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8B9E1C
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9E1C#FFFFFF#000000##000000
##8B9E1C1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A7962A
Tritanopia (blue-blind)
#949587
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8b9e1c;
/* rgb */ color: rgb(139, 158, 28);
/* oklch */ color: oklch(66.2% 0.146 118.2);
Tailwind
colors: {
  custom: {
    50: '#b1ba66',
    500: '#8b9e1c',
    950: '#000000',
  },
}
SCSS
$custom: #8b9e1c;
$custom-light: #b1ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9e1c",
  "rgb": {
    "r": 139,
    "g": 158,
    "b": 28
  },
  "hsl": {
    "h": 68.769,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.66184,
    "c": 0.146,
    "h": 118.2
  },
  "luminance": 0.30027
}

Semantic roles & 50–950 ramp

primary
#8B9E1C
secondary
#6352C4
accent
#3BED55
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B9E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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