#9EA223#9EA223

#9EA223 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.7% C 0.141 H 111.5°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9EA223
RGBrgb(158, 162, 35)
HSLhsl(62, 64%, 39%)
HSVhsv(62, 78%, 64%)
CMYKcmyk(2.5%, 0%, 78.4%, 36.5%)
CIE-LABlab(64.35, -16.33, 60.11)
CIE-LCHlch(64.35, 62.29, 105.20°)
OKLaboklab(68.71% -0.0515 0.1311)
OKLCHoklch(68.71% 0.141 111.5)
XYZxyz(27.3252, 33.2318, 6.5648)
Luminance0.3323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA223 #2723A2
analogous
#A26623 #9EA223 #5EA223
triadic
#9EA223 #239EA2 #A2239E
tetradic
#9EA223 #23A266 #2723A2 #A2235E
square
#9EA223 #23A266 #2723A2 #A2235E
split-complementary
#9EA223 #235EA2 #6623A2
monochromatic
#3C3D0D #6D7018 #9EA223 #CDD230 #D9DD62

Accessibility & contrast

On white

2.75
#9EA223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#9EA223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA223
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA223#FFFFFF#000000##000000
##9EA2231.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B09E2E
Tritanopia (blue-blind)
#A9988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ea223;
/* rgb */ color: rgb(158, 162, 35);
/* oklch */ color: oklch(68.7% 0.141 111.5);
Tailwind
colors: {
  custom: {
    50: '#bebd6a',
    500: '#9ea223',
    950: '#000000',
  },
}
SCSS
$custom: #9ea223;
$custom-light: #bebd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea223",
  "rgb": {
    "r": 158,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 61.89,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68706,
    "c": 0.14084,
    "h": 111.5
  },
  "luminance": 0.33231
}

Semantic roles & 50–950 ramp

primary
#9EA223
secondary
#625EC2
accent
#40E746
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA223

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

Preview Lab → · Contrast checker → · Palette generator →

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