#9EB334#9EB334

#9EB334 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.7% C 0.150 H 118.5°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#9EB334
RGBrgb(158, 179, 52)
HSLhsl(70, 55%, 45%)
HSVhsv(70, 71%, 70%)
CMYKcmyk(11.7%, 0%, 70.9%, 29.8%)
CIE-LABlab(69.30, -24.07, 58.99)
CIE-LCHlch(69.30, 63.71, 112.20°)
OKLaboklab(72.71% -0.0715 0.1317)
OKLCHoklch(72.71% 0.15 118.5)
XYZxyz(30.8411, 39.7575, 9.2974)
Luminance0.3976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB334 #4934B3
analogous
#B38834 #9EB334 #5FB334
triadic
#9EB334 #349EB3 #B3349E
tetradic
#9EB334 #34B388 #4934B3 #B3345F
square
#9EB334 #34B388 #4934B3 #B3345F
split-complementary
#9EB334 #345FB3 #8834B3
monochromatic
#4A5418 #748426 #9EB334 #BACE56 #CEDC86

Accessibility & contrast

On white

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

On black

8.95
#9EB334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB334
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB334#FFFFFF#000000##000000
##9EB3341.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91E
Deuteranopia (green-blind)
#BCAA3E
Tritanopia (blue-blind)
#A7A99A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9eb334;
/* rgb */ color: rgb(158, 179, 52);
/* oklch */ color: oklch(72.7% 0.150 118.5);
Tailwind
colors: {
  custom: {
    50: '#bec974',
    500: '#9eb334',
    950: '#000000',
  },
}
SCSS
$custom: #9eb334;
$custom-light: #bec974;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb334",
  "rgb": {
    "r": 158,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 69.921,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72707,
    "c": 0.14986,
    "h": 118.5
  },
  "luminance": 0.39757
}

Semantic roles & 50–950 ramp

primary
#9EB334
secondary
#897DC5
accent
#49DE62
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9EB334

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

Preview Lab → · Contrast checker → · Palette generator →

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