#9EB225#9EB225

#9EB225 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.4% C 0.157 H 117.8°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#9EB225
RGBrgb(158, 178, 37)
HSLhsl(69, 66%, 42%)
HSVhsv(69, 79%, 70%)
CMYKcmyk(11.2%, 0%, 79.2%, 30.2%)
CIE-LABlab(68.93, -24.29, 63.63)
CIE-LCHlch(68.93, 68.11, 110.90°)
OKLaboklab(72.38% -0.0734 0.1389)
OKLCHoklch(72.38% 0.157 117.8)
XYZxyz(30.3556, 39.2438, 7.7256)
Luminance0.3924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB225 #3925B2
analogous
#B28025 #9EB225 #57B225
triadic
#9EB225 #259EB2 #B2259E
tetradic
#9EB225 #25B280 #3925B2 #B22557
square
#9EB225 #25B280 #3925B2 #B22557
split-complementary
#9EB225 #2557B2 #8025B2
monochromatic
#444D10 #717F1A #9EB225 #C1D73D #D1E170

Accessibility & contrast

On white

2.37
#9EB225 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#9EB225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB225
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB225#FFFFFF#000000##000000
##9EB2251.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BCA933
Tritanopia (blue-blind)
#A8A898
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9eb225;
/* rgb */ color: rgb(158, 178, 37);
/* oklch */ color: oklch(72.4% 0.157 117.8);
Tailwind
colors: {
  custom: {
    50: '#bec96d',
    500: '#9eb225',
    950: '#000000',
  },
}
SCSS
$custom: #9eb225;
$custom-light: #bec96d;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb225",
  "rgb": {
    "r": 158,
    "g": 178,
    "b": 37
  },
  "hsl": {
    "h": 68.511,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72384,
    "c": 0.15711,
    "h": 117.8
  },
  "luminance": 0.39243
}

Semantic roles & 50–950 ramp

primary
#9EB225
secondary
#786BC8
accent
#3FE957
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9EB225

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

Preview Lab → · Contrast checker → · Palette generator →

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