#9EA527#9EA527

#9EA527 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.4% C 0.142 H 112.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#9EA527
RGBrgb(158, 165, 39)
HSLhsl(63, 62%, 40%)
HSVhsv(63, 76%, 65%)
CMYKcmyk(4.2%, 0%, 76.4%, 35.3%)
CIE-LABlab(65.22, -17.70, 59.64)
CIE-LCHlch(65.22, 62.21, 106.53°)
OKLaboklab(69.41% -0.055 0.1308)
OKLCHoklch(69.41% 0.142 112.8)
XYZxyz(27.9228, 34.3265, 7.0738)
Luminance0.3433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA527 #2E27A5
analogous
#A56D27 #9EA527 #5FA527
triadic
#9EA527 #279EA5 #A5279E
tetradic
#9EA527 #27A56D #2E27A5 #A5275F
square
#9EA527 #27A56D #2E27A5 #A5275F
split-complementary
#9EA527 #275FA5 #6D27A5
monochromatic
#3F4210 #6F741B #9EA527 #C8D039 #D6DC6A

Accessibility & contrast

On white

2.67
#9EA527 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#9EA527 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA527
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA527#FFFFFF#000000##000000
##9EA5271.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D06
Deuteranopia (green-blind)
#B2A032
Tritanopia (blue-blind)
#A99B8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ea527;
/* rgb */ color: rgb(158, 165, 39);
/* oklch */ color: oklch(69.4% 0.142 112.8);
Tailwind
colors: {
  custom: {
    50: '#bebf6c',
    500: '#9ea527',
    950: '#000000',
  },
}
SCSS
$custom: #9ea527;
$custom-light: #bebf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea527",
  "rgb": {
    "r": 158,
    "g": 165,
    "b": 39
  },
  "hsl": {
    "h": 63.333,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.69411,
    "c": 0.1419,
    "h": 112.8
  },
  "luminance": 0.34326
}

Semantic roles & 50–950 ramp

primary
#9EA527
secondary
#6B66C2
accent
#43E54C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA527

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

Preview Lab → · Contrast checker → · Palette generator →

#9EA527 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva