#9FA037#9FA037

#9FA037 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.5% C 0.126 H 109.8°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#9FA037
RGBrgb(159, 160, 55)
HSLhsl(61, 49%, 42%)
HSVhsv(61, 66%, 63%)
CMYKcmyk(0.6%, 0%, 65.6%, 37.3%)
CIE-LABlab(63.99, -13.85, 52.47)
CIE-LCHlch(63.99, 54.26, 104.78°)
OKLaboklab(68.48% -0.0427 0.1184)
OKLCHoklch(68.48% 0.126 109.8)
XYZxyz(27.5593, 32.7891, 8.4909)
Luminance0.3279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA037 #3837A0
analogous
#A06C37 #9FA037 #6BA037
triadic
#9FA037 #379FA0 #A0379F
tetradic
#9FA037 #37A06C #3837A0 #A0376B
square
#9FA037 #37A06C #3837A0 #A0376B
split-complementary
#9FA037 #376BA0 #6C37A0
monochromatic
#444518 #727227 #9FA037 #C2C351 #D2D37F

Accessibility & contrast

On white

2.78
#9FA037 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#9FA037 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA037
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA037#FFFFFF#000000##000000
##9FA0371.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9929
Deuteranopia (green-blind)
#AE9D3E
Tritanopia (blue-blind)
#AA968B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa037;
/* rgb */ color: rgb(159, 160, 55);
/* oklch */ color: oklch(68.5% 0.126 109.8);
Tailwind
colors: {
  custom: {
    50: '#bebb74',
    500: '#9fa037',
    950: '#000000',
  },
}
SCSS
$custom: #9fa037;
$custom-light: #bebb74;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa037",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 55
  },
  "hsl": {
    "h": 60.571,
    "s": 48.837,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6848,
    "c": 0.12589,
    "h": 109.8
  },
  "luminance": 0.32788
}

Semantic roles & 50–950 ramp

primary
#9FA037
secondary
#7777BC
accent
#4FD851
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9FA037

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

Preview Lab → · Contrast checker → · Palette generator →

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