#9EB042#9EB042

#9EB042 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.1% C 0.136 H 117.8°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#9EB042
RGBrgb(158, 176, 66)
HSLhsl(70, 45%, 47%)
HSVhsv(70, 63%, 69%)
CMYKcmyk(10.2%, 0%, 62.5%, 31%)
CIE-LABlab(68.54, -21.69, 52.58)
CIE-LCHlch(68.54, 56.88, 112.41°)
OKLaboklab(72.14% -0.0635 0.1203)
OKLCHoklch(72.14% 0.136 117.8)
XYZxyz(30.6098, 38.7134, 11.0131)
Luminance0.3871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB042 #5442B0
analogous
#B08B42 #9EB042 #67B042
triadic
#9EB042 #429EB0 #B0429E
tetradic
#9EB042 #42B08B #5442B0 #B04267
square
#9EB042 #42B08B #5442B0 #B04267
split-complementary
#9EB042 #4267B0 #8B42B0
monochromatic
#4E5721 #768331 #9EB042 #B7C769 #CCD795

Accessibility & contrast

On white

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

On black

8.74
#9EB042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB042
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB042#FFFFFF#000000##000000
##9EB0421.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA735
Deuteranopia (green-blind)
#B9A849
Tritanopia (blue-blind)
#A7A799
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9eb042;
/* rgb */ color: rgb(158, 176, 66);
/* oklch */ color: oklch(72.1% 0.136 117.8);
Tailwind
colors: {
  custom: {
    50: '#bdc77b',
    500: '#9eb042',
    950: '#000000',
  },
}
SCSS
$custom: #9eb042;
$custom-light: #bdc77b;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb042",
  "rgb": {
    "r": 158,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 69.818,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72135,
    "c": 0.13603,
    "h": 117.8
  },
  "luminance": 0.38713
}

Semantic roles & 50–950 ramp

primary
#9EB042
secondary
#948BC3
accent
#53D568
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9EB042

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

Preview Lab → · Contrast checker → · Palette generator →

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