#9EA526#9EA526

#9EA526 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.86:1 contrast (WCAG AA passes).

Color values

HEX#9EA526
RGBrgb(158, 165, 38)
HSLhsl(63, 63%, 40%)
HSVhsv(63, 77%, 65%)
CMYKcmyk(4.2%, 0%, 77%, 35.3%)
CIE-LABlab(65.22, -17.75, 59.95)
CIE-LCHlch(65.22, 62.53, 106.49°)
OKLaboklab(69.41% -0.0552 0.1313)
OKLCHoklch(69.41% 0.142 112.8)
XYZxyz(27.9064, 34.3200, 6.9877)
Luminance0.3432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA526 #2D26A5
analogous
#A56D26 #9EA526 #5FA526
triadic
#9EA526 #269EA5 #A5269E
tetradic
#9EA526 #26A56D #2D26A5 #A5265F
square
#9EA526 #26A56D #2D26A5 #A5265F
split-complementary
#9EA526 #265FA5 #6D26A5
monochromatic
#3F420F #6E731B #9EA526 #C9D137 #D6DC69

Accessibility & contrast

On white

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

On black

7.86
#9EA526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA526
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA526#FFFFFF#000000##000000
##9EA5261.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ea526;
/* rgb */ color: rgb(158, 165, 38);
/* oklch */ color: oklch(69.4% 0.142 112.8);
Tailwind
colors: {
  custom: {
    50: '#bebf6b',
    500: '#9ea526',
    950: '#000000',
  },
}
SCSS
$custom: #9ea526;
$custom-light: #bebf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea526",
  "rgb": {
    "r": 158,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 63.307,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69406,
    "c": 0.14243,
    "h": 112.8
  },
  "luminance": 0.34319
}

Semantic roles & 50–950 ramp

primary
#9EA526
secondary
#6964C3
accent
#42E64B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA526

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

Preview Lab → · Contrast checker → · Palette generator →

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