#8E9525#8E9525

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

Color values

HEX#8E9525
RGBrgb(142, 149, 37)
HSLhsl(64, 60%, 36%)
HSVhsv(64, 75%, 58%)
CMYKcmyk(4.7%, 0%, 75.2%, 41.6%)
CIE-LABlab(59.32, -16.58, 54.34)
CIE-LCHlch(59.32, 56.82, 106.96°)
OKLaboklab(64.37% -0.0512 0.1198)
OKLCHoklch(64.37% 0.13 113.1)
XYZxyz(22.2374, 27.3797, 5.8633)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9525 #2C2595
analogous
#956425 #8E9525 #569525
triadic
#8E9525 #258E95 #95258E
tetradic
#8E9525 #259564 #2C2595 #952556
square
#8E9525 #259564 #2C2595 #952556
split-complementary
#8E9525 #255695 #642595
monochromatic
#31330D #5F6419 #8E9525 #BDC631 #CFD75E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E9525#FFFFFF#000000##000000
##8E95251.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)
#A08E0D
Deuteranopia (green-blind)
#A0902E
Tritanopia (blue-blind)
#988C80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8e9525;
/* rgb */ color: rgb(142, 149, 37);
/* oklch */ color: oklch(64.4% 0.130 113.1);
Tailwind
colors: {
  custom: {
    50: '#b2b469',
    500: '#8e9525',
    950: '#000000',
  },
}
SCSS
$custom: #8e9525;
$custom-light: #b2b469;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9525",
  "rgb": {
    "r": 142,
    "g": 149,
    "b": 37
  },
  "hsl": {
    "h": 63.75,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64366,
    "c": 0.13027,
    "h": 113.1
  },
  "luminance": 0.27379
}

Semantic roles & 50–950 ramp

primary
#8E9525
secondary
#605ABC
accent
#44E34E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8E9525

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

Preview Lab → · Contrast checker → · Palette generator →

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