#9FA733#9FA733

#9FA733 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.0% C 0.136 H 113.3°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#9FA733
RGBrgb(159, 167, 51)
HSLhsl(64, 53%, 43%)
HSVhsv(64, 69%, 65%)
CMYKcmyk(4.8%, 0%, 69.5%, 34.5%)
CIE-LABlab(65.94, -17.69, 56.06)
CIE-LCHlch(65.94, 58.79, 107.52°)
OKLaboklab(70.03% -0.0539 0.1253)
OKLCHoklch(70.03% 0.136 113.3)
XYZxyz(28.7152, 35.2480, 8.4222)
Luminance0.3525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA733 #3B33A7
analogous
#A77533 #9FA733 #65A733
triadic
#9FA733 #339FA7 #A7339F
tetradic
#9FA733 #33A775 #3B33A7 #A73365
square
#9FA733 #33A775 #3B33A7 #A73365
split-complementary
#9FA733 #3365A7 #7533A7
monochromatic
#464916 #727825 #9FA733 #C1C94E #D1D77D

Accessibility & contrast

On white

2.61
#9FA733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#9FA733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA733
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA733#FFFFFF#000000##000000
##9FA7331.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F21
Deuteranopia (green-blind)
#B3A13C
Tritanopia (blue-blind)
#AA9D90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa733;
/* rgb */ color: rgb(159, 167, 51);
/* oklch */ color: oklch(70.0% 0.136 113.3);
Tailwind
colors: {
  custom: {
    50: '#bec172',
    500: '#9fa733',
    950: '#000000',
  },
}
SCSS
$custom: #9fa733;
$custom-light: #bec172;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa733",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 51
  },
  "hsl": {
    "h": 64.138,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.70031,
    "c": 0.13645,
    "h": 113.3
  },
  "luminance": 0.35247
}

Semantic roles & 50–950 ramp

primary
#9FA733
secondary
#7B76C0
accent
#4BDD55
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA733

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

Preview Lab → · Contrast checker → · Palette generator →

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