#8E941B#8E941B

#8E941B is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.1% C 0.134 H 112.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8E941B
RGBrgb(142, 148, 27)
HSLhsl(63, 69%, 34%)
HSVhsv(63, 82%, 58%)
CMYKcmyk(4.1%, 0%, 81.8%, 42%)
CIE-LABlab(58.98, -16.47, 57.22)
CIE-LCHlch(58.98, 59.54, 106.06°)
OKLaboklab(64.08% -0.0517 0.1241)
OKLCHoklch(64.08% 0.134 112.6)
XYZxyz(21.9438, 27.0103, 5.0943)
Luminance0.2701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E941B #211B94
analogous
#945E1B #8E941B #52941B
triadic
#8E941B #1B8E94 #941B8E
tetradic
#8E941B #1B945E #211B94 #941B52
square
#8E941B #1B945E #211B94 #941B52
split-complementary
#8E941B #1B5294 #5E1B94
monochromatic
#2B2C08 #5C6012 #8E941B #C0C824 #D7DE4B

Accessibility & contrast

On white

3.28
#8E941B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#8E941B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E941B
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E941B#FFFFFF#000000##000000
##8E941B1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A08F27
Tritanopia (blue-blind)
#988A7E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8e941b;
/* rgb */ color: rgb(142, 148, 27);
/* oklch */ color: oklch(64.1% 0.134 112.6);
Tailwind
colors: {
  custom: {
    50: '#b3b364',
    500: '#8e941b',
    950: '#000000',
  },
}
SCSS
$custom: #8e941b;
$custom-light: #b3b364;
$custom-dark: #000000;
JSON
{
  "hex": "#8e941b",
  "rgb": {
    "r": 142,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 62.975,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.64078,
    "c": 0.1344,
    "h": 112.6
  },
  "luminance": 0.2701
}

Semantic roles & 50–950 ramp

primary
#8E941B
secondary
#504BC0
accent
#3CEC45
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E941B

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

Preview Lab → · Contrast checker → · Palette generator →

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