#9EB123#9EB123

#9EB123 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.1% C 0.157 H 117.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#9EB123
RGBrgb(158, 177, 35)
HSLhsl(68, 67%, 42%)
HSVhsv(68, 80%, 69%)
CMYKcmyk(10.7%, 0%, 80.2%, 30.6%)
CIE-LABlab(68.63, -23.88, 63.94)
CIE-LCHlch(68.63, 68.25, 110.48°)
OKLaboklab(72.14% -0.0724 0.1392)
OKLCHoklch(72.14% 0.157 117.5)
XYZxyz(30.1268, 38.8351, 7.4986)
Luminance0.3883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB123 #3623B1
analogous
#B17D23 #9EB123 #57B123
triadic
#9EB123 #239EB1 #B1239E
tetradic
#9EB123 #23B17D #3623B1 #B12357
square
#9EB123 #23B17D #3623B1 #B12357
split-complementary
#9EB123 #2357B1 #7D23B1
monochromatic
#434B0F #707E19 #9EB123 #C3D839 #D2E26C

Accessibility & contrast

On white

2.40
#9EB123 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#9EB123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB123
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB123#FFFFFF#000000##000000
##9EB1231.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BCA831
Tritanopia (blue-blind)
#A8A797
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9eb123;
/* rgb */ color: rgb(158, 177, 35);
/* oklch */ color: oklch(72.1% 0.157 117.5);
Tailwind
colors: {
  custom: {
    50: '#bec86c',
    500: '#9eb123',
    950: '#000000',
  },
}
SCSS
$custom: #9eb123;
$custom-light: #bec86c;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb123",
  "rgb": {
    "r": 158,
    "g": 177,
    "b": 35
  },
  "hsl": {
    "h": 68.028,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72143,
    "c": 0.15693,
    "h": 117.5
  },
  "luminance": 0.38835
}

Semantic roles & 50–950 ramp

primary
#9EB123
secondary
#7468C8
accent
#3EEA55
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9EB123

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

Preview Lab → · Contrast checker → · Palette generator →

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