#9FB334#9FB334

#9FB334 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 72.8% C 0.149 H 118.1°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#9FB334
RGBrgb(159, 179, 52)
HSLhsl(69, 55%, 45%)
HSVhsv(69, 71%, 70%)
CMYKcmyk(11.2%, 0%, 70.9%, 29.8%)
CIE-LABlab(69.37, -23.65, 59.09)
CIE-LCHlch(69.37, 63.65, 111.82°)
OKLaboklab(72.78% -0.0704 0.1319)
OKLCHoklch(72.78% 0.149 118.1)
XYZxyz(31.0387, 39.8593, 9.3066)
Luminance0.3986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB334 #4834B3
analogous
#B38734 #9FB334 #5FB334
triadic
#9FB334 #349FB3 #B3349F
tetradic
#9FB334 #34B387 #4834B3 #B3345F
square
#9FB334 #34B387 #4834B3 #B3345F
split-complementary
#9FB334 #345FB3 #8734B3
monochromatic
#4B5418 #758426 #9FB334 #BBCE56 #CEDC86

Accessibility & contrast

On white

2.34
#9FB334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#9FB334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB334
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB334#FFFFFF#000000##000000
##9FB3341.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fb334;
/* rgb */ color: rgb(159, 179, 52);
/* oklch */ color: oklch(72.8% 0.149 118.1);
Tailwind
colors: {
  custom: {
    50: '#bfc974',
    500: '#9fb334',
    950: '#000000',
  },
}
SCSS
$custom: #9fb334;
$custom-light: #bfc974;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb334",
  "rgb": {
    "r": 159,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 69.449,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72784,
    "c": 0.14949,
    "h": 118.1
  },
  "luminance": 0.39859
}

Semantic roles & 50–950 ramp

primary
#9FB334
secondary
#897DC5
accent
#49DE61
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #9FB334

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

Preview Lab → · Contrast checker → · Palette generator →

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