#9FA239#9FA239

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

Color values

HEX#9FA239
RGBrgb(159, 162, 57)
HSLhsl(62, 48%, 43%)
HSVhsv(62, 65%, 64%)
CMYKcmyk(1.9%, 0%, 64.8%, 36.5%)
CIE-LABlab(64.57, -14.76, 52.23)
CIE-LCHlch(64.57, 54.28, 105.78°)
OKLaboklab(68.95% -0.0451 0.1182)
OKLCHoklch(68.95% 0.127 110.9)
XYZxyz(27.9578, 33.5077, 8.8650)
Luminance0.3351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA239 #3C39A2
analogous
#A27039 #9FA239 #6BA239
triadic
#9FA239 #399FA2 #A2399F
tetradic
#9FA239 #39A270 #3C39A2 #A2396B
square
#9FA239 #39A270 #3C39A2 #A2396B
split-complementary
#9FA239 #396BA2 #7039A2
monochromatic
#464719 #737529 #9FA239 #C0C355 #D1D382

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA239#FFFFFF#000000##000000
##9FA2391.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)
#AE9B2B
Deuteranopia (green-blind)
#AF9E40
Tritanopia (blue-blind)
#AA988C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa239;
/* rgb */ color: rgb(159, 162, 57);
/* oklch */ color: oklch(68.9% 0.127 110.9);
Tailwind
colors: {
  custom: {
    50: '#bebd75',
    500: '#9fa239',
    950: '#000000',
  },
}
SCSS
$custom: #9fa239;
$custom-light: #bebd75;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa239",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 61.714,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68948,
    "c": 0.12654,
    "h": 110.9
  },
  "luminance": 0.33507
}

Semantic roles & 50–950 ramp

primary
#9FA239
secondary
#7C7ABD
accent
#50D854
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA239

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

Preview Lab → · Contrast checker → · Palette generator →

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