#8B901B#8B901B

#8B901B is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.9% C 0.131 H 112.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8B901B
RGBrgb(139, 144, 27)
HSLhsl(63, 68%, 34%)
HSVhsv(63, 81%, 56%)
CMYKcmyk(3.5%, 0%, 81.3%, 43.5%)
CIE-LABlab(57.57, -15.73, 55.88)
CIE-LCHlch(57.57, 58.05, 105.72°)
OKLaboklab(62.89% -0.0495 0.1213)
OKLCHoklch(62.89% 0.131 112.2)
XYZxyz(20.8193, 25.5151, 4.8649)
Luminance0.2551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B901B #201B90
analogous
#905A1B #8B901B #50901B
triadic
#8B901B #1B8B90 #901B8B
tetradic
#8B901B #1B905A #201B90 #901B50
square
#8B901B #1B905A #201B90 #901B50
split-complementary
#8B901B #1B5090 #5A1B90
monochromatic
#282908 #595C11 #8B901B #BDC425 #D6DD49

Accessibility & contrast

On white

3.44
#8B901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#8B901B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B901B
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B901B#FFFFFF#000000##000000
##8B901B1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9C8C26
Tritanopia (blue-blind)
#95877B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8b901b;
/* rgb */ color: rgb(139, 144, 27);
/* oklch */ color: oklch(62.9% 0.131 112.2);
Tailwind
colors: {
  custom: {
    50: '#b0b063',
    500: '#8b901b',
    950: '#000000',
  },
}
SCSS
$custom: #8b901b;
$custom-light: #b0b063;
$custom-dark: #000000;
JSON
{
  "hex": "#8b901b",
  "rgb": {
    "r": 139,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 62.564,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62887,
    "c": 0.13103,
    "h": 112.2
  },
  "luminance": 0.25515
}

Semantic roles & 50–950 ramp

primary
#8B901B
secondary
#4D48BF
accent
#3DEB44
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B901B

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

Preview Lab → · Contrast checker → · Palette generator →

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