#8E9530#8E9530

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

Color values

HEX#8E9530
RGBrgb(142, 149, 48)
HSLhsl(64, 51%, 39%)
HSVhsv(64, 68%, 58%)
CMYKcmyk(4.7%, 0%, 67.8%, 41.6%)
CIE-LABlab(59.40, -15.97, 50.20)
CIE-LCHlch(59.40, 52.68, 107.65°)
OKLaboklab(64.45% -0.0484 0.113)
OKLCHoklch(64.45% 0.123 113.2)
XYZxyz(22.4369, 27.4595, 6.9140)
Luminance0.2746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9530 #373095
analogous
#956930 #8E9530 #5B9530
triadic
#8E9530 #308E95 #95308E
tetradic
#8E9530 #309569 #373095 #95305B
square
#8E9530 #309569 #373095 #95305B
split-complementary
#8E9530 #305B95 #693095
monochromatic
#363812 #626721 #8E9530 #B9C241 #CAD16F

Accessibility & contrast

On white

3.23
#8E9530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#8E9530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9530
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9530#FFFFFF#000000##000000
##8E95301.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E21
Deuteranopia (green-blind)
#A09037
Tritanopia (blue-blind)
#978C81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8e9530;
/* rgb */ color: rgb(142, 149, 48);
/* oklch */ color: oklch(64.4% 0.123 113.2);
Tailwind
colors: {
  custom: {
    50: '#b2b46e',
    500: '#8e9530',
    950: '#000000',
  },
}
SCSS
$custom: #8e9530;
$custom-light: #b2b46e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9530",
  "rgb": {
    "r": 142,
    "g": 149,
    "b": 48
  },
  "hsl": {
    "h": 64.158,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64448,
    "c": 0.12292,
    "h": 113.2
  },
  "luminance": 0.27459
}

Semantic roles & 50–950 ramp

primary
#8E9530
secondary
#6E69B8
accent
#4DDB57
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8E9530

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

Preview Lab → · Contrast checker → · Palette generator →

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