#9EB323#9EB323

#9EB323 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.6% C 0.159 H 118.1°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#9EB323
RGBrgb(158, 179, 35)
HSLhsl(69, 67%, 42%)
HSVhsv(69, 80%, 70%)
CMYKcmyk(11.7%, 0%, 80.4%, 29.8%)
CIE-LABlab(69.21, -24.86, 64.45)
CIE-LCHlch(69.21, 69.08, 111.09°)
OKLaboklab(72.61% -0.0751 0.1403)
OKLCHoklch(72.61% 0.159 118.1)
XYZxyz(30.5248, 39.6309, 7.6313)
Luminance0.3963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB323 #3823B3
analogous
#B38023 #9EB323 #56B323
triadic
#9EB323 #239EB3 #B3239E
tetradic
#9EB323 #23B380 #3823B3 #B32356
square
#9EB323 #23B380 #3823B3 #B32356
split-complementary
#9EB323 #2356B3 #8023B3
monochromatic
#444D0F #718019 #9EB323 #C2D93B #D2E36E

Accessibility & contrast

On white

2.35
#9EB323 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#9EB323 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB323
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB323#FFFFFF#000000##000000
##9EB3231.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#BDAA32
Tritanopia (blue-blind)
#A8A999
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9eb323;
/* rgb */ color: rgb(158, 179, 35);
/* oklch */ color: oklch(72.6% 0.159 118.1);
Tailwind
colors: {
  custom: {
    50: '#bec96c',
    500: '#9eb323',
    950: '#000000',
  },
}
SCSS
$custom: #9eb323;
$custom-light: #bec96c;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb323",
  "rgb": {
    "r": 158,
    "g": 179,
    "b": 35
  },
  "hsl": {
    "h": 68.75,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72605,
    "c": 0.15915,
    "h": 118.1
  },
  "luminance": 0.39631
}

Semantic roles & 50–950 ramp

primary
#9EB323
secondary
#7769C9
accent
#3EEA57
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9EB323

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

Preview Lab → · Contrast checker → · Palette generator →

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