#9FA237#9FA237

#9FA237 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 68.9% C 0.128 H 110.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#9FA237
RGBrgb(159, 162, 55)
HSLhsl(62, 49%, 43%)
HSVhsv(62, 66%, 64%)
CMYKcmyk(1.9%, 0%, 66%, 36.5%)
CIE-LABlab(64.55, -14.89, 53.05)
CIE-LCHlch(64.55, 55.10, 105.67°)
OKLaboklab(68.93% -0.0456 0.1197)
OKLCHoklch(68.93% 0.128 110.9)
XYZxyz(27.9088, 33.4881, 8.6074)
Luminance0.3349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA237 #3A37A2
analogous
#A26F37 #9FA237 #6AA237
triadic
#9FA237 #379FA2 #A2379F
tetradic
#9FA237 #37A26F #3A37A2 #A2376A
square
#9FA237 #37A26F #3A37A2 #A2376A
split-complementary
#9FA237 #376AA2 #6F37A2
monochromatic
#454718 #727427 #9FA237 #C1C452 #D1D480

Accessibility & contrast

On white

2.73
#9FA237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#9FA237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA237
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA237#FFFFFF#000000##000000
##9FA2371.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B28
Deuteranopia (green-blind)
#AF9E3E
Tritanopia (blue-blind)
#AA988C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa237;
/* rgb */ color: rgb(159, 162, 55);
/* oklch */ color: oklch(68.9% 0.128 110.9);
Tailwind
colors: {
  custom: {
    50: '#bebd74',
    500: '#9fa237',
    950: '#000000',
  },
}
SCSS
$custom: #9fa237;
$custom-light: #bebd74;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa237",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 61.682,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68931,
    "c": 0.12806,
    "h": 110.9
  },
  "luminance": 0.33487
}

Semantic roles & 50–950 ramp

primary
#9FA237
secondary
#7A78BD
accent
#4FD953
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9FA237

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

Preview Lab → · Contrast checker → · Palette generator →

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