#8B901F#8B901F

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

Color values

HEX#8B901F
RGBrgb(139, 144, 31)
HSLhsl(63, 65%, 34%)
HSVhsv(63, 78%, 56%)
CMYKcmyk(3.5%, 0%, 78.5%, 43.5%)
CIE-LABlab(57.59, -15.57, 54.67)
CIE-LCHlch(57.59, 56.84, 105.90°)
OKLaboklab(62.91% -0.0487 0.1195)
OKLCHoklch(62.91% 0.129 112.2)
XYZxyz(20.8687, 25.5349, 5.1255)
Luminance0.2553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B901F #241F90
analogous
#905D1F #8B901F #53901F
triadic
#8B901F #1F8B90 #901F8B
tetradic
#8B901F #1F905D #241F90 #901F53
square
#8B901F #1F905D #241F90 #901F53
split-complementary
#8B901F #1F5390 #5D1F90
monochromatic
#2A2B09 #5A5E14 #8B901F #BCC22A #D3D950

Accessibility & contrast

On white

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

On black

6.11
#8B901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B901F
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B901F#FFFFFF#000000##000000
##8B901F1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b901f;
/* rgb */ color: rgb(139, 144, 31);
/* oklch */ color: oklch(62.9% 0.129 112.2);
Tailwind
colors: {
  custom: {
    50: '#b0b065',
    500: '#8b901f',
    950: '#000000',
  },
}
SCSS
$custom: #8b901f;
$custom-light: #b0b065;
$custom-dark: #000000;
JSON
{
  "hex": "#8b901f",
  "rgb": {
    "r": 139,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 62.655,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62909,
    "c": 0.12904,
    "h": 112.2
  },
  "luminance": 0.25534
}

Semantic roles & 50–950 ramp

primary
#8B901F
secondary
#534EBC
accent
#40E848
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B901F

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

Preview Lab → · Contrast checker → · Palette generator →

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