#9FA135#9FA135

#9FA135 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.7% C 0.128 H 110.4°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9FA135
RGBrgb(159, 161, 53)
HSLhsl(61, 50%, 42%)
HSVhsv(61, 67%, 63%)
CMYKcmyk(1.2%, 0%, 67.1%, 36.9%)
CIE-LABlab(64.26, -14.49, 53.57)
CIE-LCHlch(64.26, 55.49, 105.13°)
OKLaboklab(68.69% -0.0447 0.1204)
OKLCHoklch(68.69% 0.128 110.4)
XYZxyz(27.6864, 33.1184, 8.3015)
Luminance0.3312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA135 #3735A1
analogous
#A16D35 #9FA135 #69A135
triadic
#9FA135 #359FA1 #A1359F
tetradic
#9FA135 #35A16D #3735A1 #A13569
square
#9FA135 #35A16D #3735A1 #A13569
split-complementary
#9FA135 #3569A1 #6D35A1
monochromatic
#444517 #727326 #9FA135 #C3C54E #D2D47C

Accessibility & contrast

On white

2.75
#9FA135 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#9FA135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA135
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA135#FFFFFF#000000##000000
##9FA1351.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A26
Deuteranopia (green-blind)
#AE9D3C
Tritanopia (blue-blind)
#AA978B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9fa135;
/* rgb */ color: rgb(159, 161, 53);
/* oklch */ color: oklch(68.7% 0.128 110.4);
Tailwind
colors: {
  custom: {
    50: '#bebc73',
    500: '#9fa135',
    950: '#000000',
  },
}
SCSS
$custom: #9fa135;
$custom-light: #bebc73;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa135",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 53
  },
  "hsl": {
    "h": 61.111,
    "s": 50.467,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68688,
    "c": 0.12846,
    "h": 110.4
  },
  "luminance": 0.33118
}

Semantic roles & 50–950 ramp

primary
#9FA135
secondary
#7675BD
accent
#4EDA50
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9FA135

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

Preview Lab → · Contrast checker → · Palette generator →

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