#8E9028#8E9028

#8E9028 is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.2% C 0.123 H 110.5°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8E9028
RGBrgb(142, 144, 40)
HSLhsl(61, 57%, 36%)
HSVhsv(61, 72%, 56%)
CMYKcmyk(1.4%, 0%, 72.2%, 43.5%)
CIE-LABlab(57.90, -13.81, 51.88)
CIE-LCHlch(57.90, 53.69, 104.90°)
OKLaboklab(63.23% -0.0432 0.1151)
OKLCHoklch(63.23% 0.123 110.5)
XYZxyz(21.5123, 25.8511, 5.8636)
Luminance0.2585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9028 #2A2890
analogous
#905E28 #8E9028 #5A9028
triadic
#8E9028 #288E90 #90288E
tetradic
#8E9028 #28905E #2A2890 #90285A
square
#8E9028 #28905E #2A2890 #90285A
split-complementary
#8E9028 #285A90 #5E2890
monochromatic
#30300D #5F601B #8E9028 #BDC035 #D1D360

Accessibility & contrast

On white

3.40
#8E9028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#8E9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9028
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9028#FFFFFF#000000##000000
##8E90281.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A16
Deuteranopia (green-blind)
#9C8D30
Tritanopia (blue-blind)
#98877C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8e9028;
/* rgb */ color: rgb(142, 144, 40);
/* oklch */ color: oklch(63.2% 0.123 110.5);
Tailwind
colors: {
  custom: {
    50: '#b2b069',
    500: '#8e9028',
    950: '#000000',
  },
}
SCSS
$custom: #8e9028;
$custom-light: #b2b069;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9028",
  "rgb": {
    "r": 142,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 61.154,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63229,
    "c": 0.12296,
    "h": 110.5
  },
  "luminance": 0.25851
}

Semantic roles & 50–950 ramp

primary
#8E9028
secondary
#5D5CB8
accent
#48E04B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E9028

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

Preview Lab → · Contrast checker → · Palette generator →

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