#9EA823#9EA823

#9EA823 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.1% C 0.147 H 114.1°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#9EA823
RGBrgb(158, 168, 35)
HSLhsl(65, 66%, 40%)
HSVhsv(65, 79%, 66%)
CMYKcmyk(6%, 0%, 79.2%, 34.1%)
CIE-LABlab(66.06, -19.39, 61.64)
CIE-LCHlch(66.06, 64.62, 107.46°)
OKLaboklab(70.07% -0.06 0.1343)
OKLCHoklch(70.07% 0.147 114.1)
XYZxyz(28.4074, 35.3963, 6.9255)
Luminance0.3540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA823 #2D23A8
analogous
#A86F23 #9EA823 #5CA823
triadic
#9EA823 #239EA8 #A8239E
tetradic
#9EA823 #23A86F #2D23A8 #A8235C
square
#9EA823 #23A86F #2D23A8 #A8235C
split-complementary
#9EA823 #235CA8 #6F23A8
monochromatic
#3F430E #6E7518 #9EA823 #C9D534 #D6DF66

Accessibility & contrast

On white

2.60
#9EA823 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#9EA823 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA823
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA823#FFFFFF#000000##000000
##9EA8231.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B4A230
Tritanopia (blue-blind)
#A99E90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ea823;
/* rgb */ color: rgb(158, 168, 35);
/* oklch */ color: oklch(70.1% 0.147 114.1);
Tailwind
colors: {
  custom: {
    50: '#bec16a',
    500: '#9ea823',
    950: '#000000',
  },
}
SCSS
$custom: #9ea823;
$custom-light: #bec16a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea823",
  "rgb": {
    "r": 158,
    "g": 168,
    "b": 35
  },
  "hsl": {
    "h": 64.511,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70074,
    "c": 0.14713,
    "h": 114.1
  },
  "luminance": 0.35396
}

Semantic roles & 50–950 ramp

primary
#9EA823
secondary
#6962C5
accent
#3FE84C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA823

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

Preview Lab → · Contrast checker → · Palette generator →

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