#8E901F#8E901F

#8E901F is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.2% C 0.128 H 110.6°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8E901F
RGBrgb(142, 144, 31)
HSLhsl(61, 65%, 34%)
HSVhsv(61, 78%, 56%)
CMYKcmyk(1.4%, 0%, 78.5%, 43.5%)
CIE-LABlab(57.84, -14.22, 54.99)
CIE-LCHlch(57.84, 56.80, 104.50°)
OKLaboklab(63.17% -0.0452 0.12)
OKLCHoklch(63.17% 0.128 110.6)
XYZxyz(21.3767, 25.7968, 5.1493)
Luminance0.2580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E901F #211F90
analogous
#905A1F #8E901F #56901F
triadic
#8E901F #1F8E90 #901F8E
tetradic
#8E901F #1F905A #211F90 #901F56
square
#8E901F #1F905A #211F90 #901F56
split-complementary
#8E901F #1F5690 #5A1F90
monochromatic
#2B2B09 #5C5E14 #8E901F #C0C22A #D7D950

Accessibility & contrast

On white

3.41
#8E901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#8E901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E901F
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E901F#FFFFFF#000000##000000
##8E901F1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e901f;
/* rgb */ color: rgb(142, 144, 31);
/* oklch */ color: oklch(63.2% 0.128 110.6);
Tailwind
colors: {
  custom: {
    50: '#b3b065',
    500: '#8e901f',
    950: '#000000',
  },
}
SCSS
$custom: #8e901f;
$custom-light: #b3b065;
$custom-dark: #000000;
JSON
{
  "hex": "#8e901f",
  "rgb": {
    "r": 142,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 61.062,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.63171,
    "c": 0.12826,
    "h": 110.6
  },
  "luminance": 0.25796
}

Semantic roles & 50–950 ramp

primary
#8E901F
secondary
#504EBC
accent
#40E843
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E901F

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

Preview Lab → · Contrast checker → · Palette generator →

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