#9EB229#9EB229

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

Color values

HEX#9EB229
RGBrgb(158, 178, 41)
HSLhsl(69, 63%, 43%)
HSVhsv(69, 77%, 70%)
CMYKcmyk(11.2%, 0%, 77%, 30.2%)
CIE-LABlab(68.95, -24.13, 62.43)
CIE-LCHlch(68.95, 66.93, 111.13°)
OKLaboklab(72.41% -0.0726 0.1371)
OKLCHoklch(72.41% 0.155 117.9)
XYZxyz(30.4219, 39.2703, 8.0747)
Luminance0.3927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB229 #3D29B2
analogous
#B28129 #9EB229 #59B229
triadic
#9EB229 #299EB2 #B2299E
tetradic
#9EB229 #29B281 #3D29B2 #B22959
square
#9EB229 #29B281 #3D29B2 #B22959
split-complementary
#9EB229 #2959B2 #8129B2
monochromatic
#464F12 #72801E #9EB229 #BFD444 #D0DF76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EB229#FFFFFF#000000##000000
##9EB2291.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)
#BEA802
Deuteranopia (green-blind)
#BCA936
Tritanopia (blue-blind)
#A8A898
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9eb229;
/* rgb */ color: rgb(158, 178, 41);
/* oklch */ color: oklch(72.4% 0.155 117.9);
Tailwind
colors: {
  custom: {
    50: '#bec96e',
    500: '#9eb229',
    950: '#000000',
  },
}
SCSS
$custom: #9eb229;
$custom-light: #bec96e;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb229",
  "rgb": {
    "r": 158,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 68.759,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72406,
    "c": 0.15512,
    "h": 117.9
  },
  "luminance": 0.3927
}

Semantic roles & 50–950 ramp

primary
#9EB229
secondary
#7D70C7
accent
#42E65A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EB229

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

Preview Lab → · Contrast checker → · Palette generator →

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