#8E9529#8E9529

#8E9529 is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.4% C 0.128 H 113.2°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8E9529
RGBrgb(142, 149, 41)
HSLhsl(64, 57%, 37%)
HSVhsv(64, 72%, 58%)
CMYKcmyk(4.7%, 0%, 72.5%, 41.6%)
CIE-LABlab(59.35, -16.38, 52.92)
CIE-LCHlch(59.35, 55.39, 107.20°)
OKLaboklab(64.39% -0.0502 0.1175)
OKLCHoklch(64.39% 0.128 113.2)
XYZxyz(22.3037, 27.4063, 6.2124)
Luminance0.2741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9529 #302995
analogous
#956629 #8E9529 #589529
triadic
#8E9529 #298E95 #95298E
tetradic
#8E9529 #299566 #302995 #952958
square
#8E9529 #299566 #302995 #952958
split-complementary
#8E9529 #295895 #662995
monochromatic
#33350F #60651C #8E9529 #BCC536 #CDD464

Accessibility & contrast

On white

3.24
#8E9529 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#8E9529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9529
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9529#FFFFFF#000000##000000
##8E95291.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E16
Deuteranopia (green-blind)
#A09031
Tritanopia (blue-blind)
#988C80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8e9529;
/* rgb */ color: rgb(142, 149, 41);
/* oklch */ color: oklch(64.4% 0.128 113.2);
Tailwind
colors: {
  custom: {
    50: '#b2b46b',
    500: '#8e9529',
    950: '#000000',
  },
}
SCSS
$custom: #8e9529;
$custom-light: #b2b46b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9529",
  "rgb": {
    "r": 142,
    "g": 149,
    "b": 41
  },
  "hsl": {
    "h": 63.889,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64393,
    "c": 0.12779,
    "h": 113.2
  },
  "luminance": 0.27406
}

Semantic roles & 50–950 ramp

primary
#8E9529
secondary
#6560BA
accent
#48E052
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8E9529

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

Preview Lab → · Contrast checker → · Palette generator →

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