#8B9E1B#8B9E1B

#8B9E1B 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.00:1 contrast (WCAG AA passes).

Color values

HEX#8B9E1B
RGBrgb(139, 158, 27)
HSLhsl(69, 71%, 36%)
HSVhsv(69, 83%, 62%)
CMYKcmyk(12%, 0%, 82.9%, 38%)
CIE-LABlab(61.67, -22.89, 59.47)
CIE-LCHlch(61.67, 63.73, 111.05°)
OKLaboklab(66.18% -0.0692 0.129)
OKLCHoklch(66.18% 0.146 118.2)
XYZxyz(23.0727, 30.0220, 5.6161)
Luminance0.3002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9E1B #2E1B9E
analogous
#9E701B #8B9E1B #4A9E1B
triadic
#8B9E1B #1B8B9E #9E1B8B
tetradic
#8B9E1B #1B9E70 #2E1B9E #9E1B4A
square
#8B9E1B #1B9E70 #2E1B9E #9E1B4A
split-complementary
#8B9E1B #1B4A9E #701B9E
monochromatic
#2F3509 #5D6A12 #8B9E1B #B9D224 #CDE152

Accessibility & contrast

On white

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

On black

7.00
#8B9E1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8B9E1B
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9E1B#FFFFFF#000000##000000
##8B9E1B1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b9e1b;
/* rgb */ color: rgb(139, 158, 27);
/* oklch */ color: oklch(66.2% 0.146 118.2);
Tailwind
colors: {
  custom: {
    50: '#b1ba65',
    500: '#8b9e1b',
    950: '#000000',
  },
}
SCSS
$custom: #8b9e1b;
$custom-light: #b1ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9e1b",
  "rgb": {
    "r": 139,
    "g": 158,
    "b": 27
  },
  "hsl": {
    "h": 68.702,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66179,
    "c": 0.14643,
    "h": 118.2
  },
  "luminance": 0.30022
}

Semantic roles & 50–950 ramp

primary
#8B9E1B
secondary
#6151C4
accent
#3AEE54
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B9E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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