#9FA333#9FA333

#9FA333 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.1% C 0.132 H 111.4°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#9FA333
RGBrgb(159, 163, 51)
HSLhsl(62, 52%, 42%)
HSVhsv(62, 69%, 64%)
CMYKcmyk(2.5%, 0%, 68.7%, 36.1%)
CIE-LABlab(64.81, -15.64, 54.93)
CIE-LCHlch(64.81, 57.11, 105.89°)
OKLaboklab(69.12% -0.0482 0.123)
OKLCHoklch(69.12% 0.132 111.4)
XYZxyz(27.9937, 33.8050, 8.1817)
Luminance0.3380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA333 #3733A3
analogous
#A36F33 #9FA333 #67A333
triadic
#9FA333 #339FA3 #A3339F
tetradic
#9FA333 #33A36F #3733A3 #A33367
square
#9FA333 #33A36F #3733A3 #A33367
split-complementary
#9FA333 #3367A3 #6F33A3
monochromatic
#444616 #727424 #9FA333 #C3C74C #D2D67B

Accessibility & contrast

On white

2.71
#9FA333 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#9FA333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA333
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA333#FFFFFF#000000##000000
##9FA3331.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C22
Deuteranopia (green-blind)
#B09F3B
Tritanopia (blue-blind)
#AA998D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa333;
/* rgb */ color: rgb(159, 163, 51);
/* oklch */ color: oklch(69.1% 0.132 111.4);
Tailwind
colors: {
  custom: {
    50: '#bebe72',
    500: '#9fa333',
    950: '#000000',
  },
}
SCSS
$custom: #9fa333;
$custom-light: #bebe72;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa333",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 51
  },
  "hsl": {
    "h": 62.143,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69124,
    "c": 0.13205,
    "h": 111.4
  },
  "luminance": 0.33804
}

Semantic roles & 50–950 ramp

primary
#9FA333
secondary
#7673BE
accent
#4CDC51
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA333

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

Preview Lab → · Contrast checker → · Palette generator →

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