#8D901F#8D901F

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

Color values

HEX#8D901F
RGBrgb(141, 144, 31)
HSLhsl(62, 65%, 34%)
HSVhsv(62, 78%, 56%)
CMYKcmyk(2.1%, 0%, 78.5%, 43.5%)
CIE-LABlab(57.76, -14.67, 54.88)
CIE-LCHlch(57.76, 56.81, 104.97°)
OKLaboklab(63.08% -0.0464 0.1199)
OKLCHoklch(63.08% 0.129 111.2)
XYZxyz(21.2058, 25.7087, 5.1413)
Luminance0.2571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D901F #221F90
analogous
#905B1F #8D901F #55901F
triadic
#8D901F #1F8D90 #901F8D
tetradic
#8D901F #1F905B #221F90 #901F55
square
#8D901F #1F905B #221F90 #901F55
split-complementary
#8D901F #1F5590 #5B1F90
monochromatic
#2A2B09 #5C5E14 #8D901F #BEC22A #D6D950

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D901F#FFFFFF#000000##000000
##8D901F1.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)
#9C8C29
Tritanopia (blue-blind)
#97877B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8d901f;
/* rgb */ color: rgb(141, 144, 31);
/* oklch */ color: oklch(63.1% 0.129 111.2);
Tailwind
colors: {
  custom: {
    50: '#b2b065',
    500: '#8d901f',
    950: '#000000',
  },
}
SCSS
$custom: #8d901f;
$custom-light: #b2b065;
$custom-dark: #000000;
JSON
{
  "hex": "#8d901f",
  "rgb": {
    "r": 141,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 61.593,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.63083,
    "c": 0.12851,
    "h": 111.2
  },
  "luminance": 0.25708
}

Semantic roles & 50–950 ramp

primary
#8D901F
secondary
#514EBC
accent
#40E845
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D901F

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

Preview Lab → · Contrast checker → · Palette generator →

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