#9FA33C#9FA33C

#9FA33C is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.2% C 0.125 H 111.4°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#9FA33C
RGBrgb(159, 163, 60)
HSLhsl(62, 46%, 44%)
HSVhsv(62, 63%, 64%)
CMYKcmyk(2.5%, 0%, 63.2%, 36.1%)
CIE-LABlab(64.88, -15.08, 51.27)
CIE-LCHlch(64.88, 53.44, 106.39°)
OKLaboklab(69.2% -0.0457 0.1167)
OKLCHoklch(69.2% 0.125 111.4)
XYZxyz(28.2117, 33.8922, 9.3298)
Luminance0.3389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA33C #403CA3
analogous
#A3733C #9FA33C #6BA33C
triadic
#9FA33C #3C9FA3 #A33C9F
tetradic
#9FA33C #3CA373 #403CA3 #A33C6B
square
#9FA33C #3CA373 #403CA3 #A33C6B
split-complementary
#9FA33C #3C6BA3 #733CA3
monochromatic
#484A1B #73762C #9FA33C #BEC25A #D0D387

Accessibility & contrast

On white

2.70
#9FA33C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#9FA33C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA33C
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA33C#FFFFFF#000000##000000
##9FA33C1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C2F
Deuteranopia (green-blind)
#B09F43
Tritanopia (blue-blind)
#A9998E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa33c;
/* rgb */ color: rgb(159, 163, 60);
/* oklch */ color: oklch(69.2% 0.125 111.4);
Tailwind
colors: {
  custom: {
    50: '#bebe77',
    500: '#9fa33c',
    950: '#000000',
  },
}
SCSS
$custom: #9fa33c;
$custom-light: #bebe77;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa33c",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 60
  },
  "hsl": {
    "h": 62.33,
    "s": 46.188,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69201,
    "c": 0.12527,
    "h": 111.4
  },
  "luminance": 0.33892
}

Semantic roles & 50–950 ramp

primary
#9FA33C
secondary
#807EBD
accent
#52D657
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA33C

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

Preview Lab → · Contrast checker → · Palette generator →

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