#9FB042#9FB042

#9FB042 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.2% C 0.136 H 117.4°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#9FB042
RGBrgb(159, 176, 66)
HSLhsl(69, 45%, 47%)
HSVhsv(69, 63%, 69%)
CMYKcmyk(9.7%, 0%, 62.5%, 31%)
CIE-LABlab(68.62, -21.27, 52.68)
CIE-LCHlch(68.62, 56.81, 111.99°)
OKLaboklab(72.21% -0.0624 0.1205)
OKLCHoklch(72.21% 0.136 117.4)
XYZxyz(30.8074, 38.8153, 11.0224)
Luminance0.3881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB042 #5342B0
analogous
#B08A42 #9FB042 #68B042
triadic
#9FB042 #429FB0 #B0429F
tetradic
#9FB042 #42B08A #5342B0 #B04268
square
#9FB042 #42B08A #5342B0 #B04268
split-complementary
#9FB042 #4268B0 #8A42B0
monochromatic
#4F5721 #778331 #9FB042 #B8C769 #CDD795

Accessibility & contrast

On white

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

On black

8.76
#9FB042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB042
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB042#FFFFFF#000000##000000
##9FB0421.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fb042;
/* rgb */ color: rgb(159, 176, 66);
/* oklch */ color: oklch(72.2% 0.136 117.4);
Tailwind
colors: {
  custom: {
    50: '#bec77b',
    500: '#9fb042',
    950: '#000000',
  },
}
SCSS
$custom: #9fb042;
$custom-light: #bec77b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb042",
  "rgb": {
    "r": 159,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 69.273,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72213,
    "c": 0.1357,
    "h": 117.4
  },
  "luminance": 0.38815
}

Semantic roles & 50–950 ramp

primary
#9FB042
secondary
#948BC3
accent
#53D567
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9FB042

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

Preview Lab → · Contrast checker → · Palette generator →

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