#9FA52E#9FA52E

#9FA52E is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.5% C 0.138 H 112.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#9FA52E
RGBrgb(159, 165, 46)
HSLhsl(63, 56%, 41%)
HSVhsv(63, 72%, 65%)
CMYKcmyk(3.6%, 0%, 72.1%, 35.3%)
CIE-LABlab(65.34, -16.94, 57.35)
CIE-LCHlch(65.34, 59.80, 106.45°)
OKLaboklab(69.54% -0.0523 0.1272)
OKLCHoklch(69.54% 0.138 112.4)
XYZxyz(28.2472, 34.4791, 7.7514)
Luminance0.3448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA52E #342EA5
analogous
#A5702E #9FA52E #64A52E
triadic
#9FA52E #2E9FA5 #A52E9F
tetradic
#9FA52E #2EA570 #342EA5 #A52E64
square
#9FA52E #2EA570 #342EA5 #A52E64
split-complementary
#9FA52E #2E64A5 #702EA5
monochromatic
#434513 #717521 #9FA52E #C4CB45 #D3D875

Accessibility & contrast

On white

2.66
#9FA52E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#9FA52E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA52E
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA52E#FFFFFF#000000##000000
##9FA52E1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D18
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#AA9B8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa52e;
/* rgb */ color: rgb(159, 165, 46);
/* oklch */ color: oklch(69.5% 0.138 112.4);
Tailwind
colors: {
  custom: {
    50: '#bfbf6f',
    500: '#9fa52e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa52e;
$custom-light: #bfbf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa52e",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 46
  },
  "hsl": {
    "h": 63.025,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6954,
    "c": 0.13753,
    "h": 112.4
  },
  "luminance": 0.34478
}

Semantic roles & 50–950 ramp

primary
#9FA52E
secondary
#736FC0
accent
#48E050
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA52E

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

Preview Lab → · Contrast checker → · Palette generator →

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