#9FA33E#9FA33E

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

Color values

HEX#9FA33E
RGBrgb(159, 163, 62)
HSLhsl(62, 45%, 44%)
HSVhsv(62, 62%, 64%)
CMYKcmyk(2.5%, 0%, 62%, 36.1%)
CIE-LABlab(64.89, -14.94, 50.42)
CIE-LCHlch(64.89, 52.58, 106.51°)
OKLaboklab(69.22% -0.045 0.1151)
OKLCHoklch(69.22% 0.124 111.4)
XYZxyz(28.2655, 33.9138, 9.6135)
Luminance0.3391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA33E #423EA3
analogous
#A3753E #9FA33E #6DA33E
triadic
#9FA33E #3E9FA3 #A33E9F
tetradic
#9FA33E #3EA375 #423EA3 #A33E6D
square
#9FA33E #3EA375 #423EA3 #A33E6D
split-complementary
#9FA33E #3E6DA3 #753EA3
monochromatic
#494A1C #74772D #9FA33E #BDC15D #CFD289

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA33E#FFFFFF#000000##000000
##9FA33E1.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)
#AF9C32
Deuteranopia (green-blind)
#B09F44
Tritanopia (blue-blind)
#A9998E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa33e;
/* rgb */ color: rgb(159, 163, 62);
/* oklch */ color: oklch(69.2% 0.124 111.4);
Tailwind
colors: {
  custom: {
    50: '#bebe78',
    500: '#9fa33e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa33e;
$custom-light: #bebe78;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa33e",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 62
  },
  "hsl": {
    "h": 62.376,
    "s": 44.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69221,
    "c": 0.12364,
    "h": 111.4
  },
  "luminance": 0.33913
}

Semantic roles & 50–950 ramp

primary
#9FA33E
secondary
#8280BD
accent
#53D558
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA33E

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

Preview Lab → · Contrast checker → · Palette generator →

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