#8E901B#8E901B

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

Color values

HEX#8E901B
RGBrgb(142, 144, 27)
HSLhsl(61, 68%, 34%)
HSVhsv(61, 81%, 56%)
CMYKcmyk(1.4%, 0%, 81.3%, 43.5%)
CIE-LABlab(57.82, -14.38, 56.20)
CIE-LCHlch(57.82, 58.01, 104.35°)
OKLaboklab(63.15% -0.0459 0.1219)
OKLCHoklch(63.15% 0.13 110.6)
XYZxyz(21.3272, 25.7770, 4.8887)
Luminance0.2578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E901B #1D1B90
analogous
#90571B #8E901B #53901B
triadic
#8E901B #1B8E90 #901B8E
tetradic
#8E901B #1B9057 #1D1B90 #901B53
square
#8E901B #1B9057 #1D1B90 #901B53
split-complementary
#8E901B #1B5390 #571B90
monochromatic
#282908 #5B5C11 #8E901B #C1C425 #DADD49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E901B#FFFFFF#000000##000000
##8E901B1.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)
#9D8C26
Tritanopia (blue-blind)
#98867B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8e901b;
/* rgb */ color: rgb(142, 144, 27);
/* oklch */ color: oklch(63.1% 0.130 110.6);
Tailwind
colors: {
  custom: {
    50: '#b3b063',
    500: '#8e901b',
    950: '#000000',
  },
}
SCSS
$custom: #8e901b;
$custom-light: #b3b063;
$custom-dark: #000000;
JSON
{
  "hex": "#8e901b",
  "rgb": {
    "r": 142,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 61.026,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.6315,
    "c": 0.13023,
    "h": 110.6
  },
  "luminance": 0.25776
}

Semantic roles & 50–950 ramp

primary
#8E901B
secondary
#4A48BF
accent
#3DEB40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E901B

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

Preview Lab → · Contrast checker → · Palette generator →

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