#8D901B#8D901B

#8D901B is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.1% C 0.130 H 111.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8D901B
RGBrgb(141, 144, 27)
HSLhsl(62, 68%, 34%)
HSVhsv(62, 81%, 56%)
CMYKcmyk(2.1%, 0%, 81.3%, 43.5%)
CIE-LABlab(57.74, -14.83, 56.09)
CIE-LCHlch(57.74, 58.02, 104.81°)
OKLaboklab(63.06% -0.0471 0.1217)
OKLCHoklch(63.06% 0.13 111.2)
XYZxyz(21.1564, 25.6890, 4.8807)
Luminance0.2569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D901B #1E1B90
analogous
#90581B #8D901B #52901B
triadic
#8D901B #1B8D90 #901B8D
tetradic
#8D901B #1B9058 #1E1B90 #901B52
square
#8D901B #1B9058 #1E1B90 #901B52
split-complementary
#8D901B #1B5290 #581B90
monochromatic
#282908 #5B5C11 #8D901B #BFC425 #D9DD49

Accessibility & contrast

On white

3.42
#8D901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#8D901B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D901B
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D901B#FFFFFF#000000##000000
##8D901B1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9D8C26
Tritanopia (blue-blind)
#97867B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8d901b;
/* rgb */ color: rgb(141, 144, 27);
/* oklch */ color: oklch(63.1% 0.130 111.2);
Tailwind
colors: {
  custom: {
    50: '#b2b063',
    500: '#8d901b',
    950: '#000000',
  },
}
SCSS
$custom: #8d901b;
$custom-light: #b2b063;
$custom-dark: #000000;
JSON
{
  "hex": "#8d901b",
  "rgb": {
    "r": 141,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 61.538,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.63062,
    "c": 0.13049,
    "h": 111.2
  },
  "luminance": 0.25688
}

Semantic roles & 50–950 ramp

primary
#8D901B
secondary
#4B48BF
accent
#3DEB41
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D901B

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

Preview Lab → · Contrast checker → · Palette generator →

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