#8E9015#8E9015

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

Color values

HEX#8E9015
RGBrgb(142, 144, 21)
HSLhsl(61, 75%, 32%)
HSVhsv(61, 85%, 56%)
CMYKcmyk(1.4%, 0%, 85.4%, 43.5%)
CIE-LABlab(57.80, -14.57, 57.79)
CIE-LCHlch(57.80, 59.60, 104.15°)
OKLaboklab(63.12% -0.0469 0.1242)
OKLCHoklch(63.12% 0.133 110.7)
XYZxyz(21.2648, 25.7521, 4.5598)
Luminance0.2575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9015 #171590
analogous
#905515 #8E9015 #509015
triadic
#8E9015 #158E90 #90158E
tetradic
#8E9015 #159055 #171590 #901550
square
#8E9015 #159055 #171590 #901550
split-complementary
#8E9015 #155090 #551590
monochromatic
#252505 #595B0D #8E9015 #C3C51D #E0E33D

Accessibility & contrast

On white

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

On black

6.15
#8E9015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9015
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9015#FFFFFF#000000##000000
##8E90151.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e9015;
/* rgb */ color: rgb(142, 144, 21);
/* oklch */ color: oklch(63.1% 0.133 110.7);
Tailwind
colors: {
  custom: {
    50: '#b3b061',
    500: '#8e9015',
    950: '#000000',
  },
}
SCSS
$custom: #8e9015;
$custom-light: #b3b061;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9015",
  "rgb": {
    "r": 142,
    "g": 144,
    "b": 21
  },
  "hsl": {
    "h": 60.976,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.63123,
    "c": 0.13277,
    "h": 110.7
  },
  "luminance": 0.25751
}

Semantic roles & 50–950 ramp

primary
#8E9015
secondary
#403EC2
accent
#37F13A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E9015

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

Preview Lab → · Contrast checker → · Palette generator →

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