#9EA522#9EA522

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

Color values

HEX#9EA522
RGBrgb(158, 165, 34)
HSLhsl(63, 66%, 39%)
HSVhsv(63, 79%, 65%)
CMYKcmyk(4.2%, 0%, 79.4%, 35.3%)
CIE-LABlab(65.20, -17.91, 61.17)
CIE-LCHlch(65.20, 63.74, 106.32°)
OKLaboklab(69.38% -0.056 0.1332)
OKLCHoklch(69.38% 0.144 112.8)
XYZxyz(27.8453, 34.2955, 6.6659)
Luminance0.3429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA522 #2922A5
analogous
#A56B22 #9EA522 #5DA522
triadic
#9EA522 #229EA5 #A5229E
tetradic
#9EA522 #22A56B #2922A5 #A5225D
square
#9EA522 #22A56B #2922A5 #A5225D
split-complementary
#9EA522 #225DA5 #6B22A5
monochromatic
#3D400D #6D7218 #9EA522 #CCD430 #D8DF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA522#FFFFFF#000000##000000
##9EA5221.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)
#B29D00
Deuteranopia (green-blind)
#B2A02E
Tritanopia (blue-blind)
#A99B8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ea522;
/* rgb */ color: rgb(158, 165, 34);
/* oklch */ color: oklch(69.4% 0.144 112.8);
Tailwind
colors: {
  custom: {
    50: '#bebf6a',
    500: '#9ea522',
    950: '#000000',
  },
}
SCSS
$custom: #9ea522;
$custom-light: #bebf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea522",
  "rgb": {
    "r": 158,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 63.206,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69384,
    "c": 0.14444,
    "h": 112.8
  },
  "luminance": 0.34295
}

Semantic roles & 50–950 ramp

primary
#9EA522
secondary
#645FC4
accent
#3FE948
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA522

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

Preview Lab → · Contrast checker → · Palette generator →

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