#9FA835#9FA835

#9FA835 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.3% C 0.136 H 113.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#9FA835
RGBrgb(159, 168, 53)
HSLhsl(65, 52%, 43%)
HSVhsv(65, 68%, 66%)
CMYKcmyk(5.4%, 0%, 68.5%, 34.1%)
CIE-LABlab(66.24, -18.09, 55.58)
CIE-LCHlch(66.24, 58.45, 108.03°)
OKLaboklab(70.27% -0.0548 0.1247)
OKLCHoklch(70.27% 0.136 113.7)
XYZxyz(28.9441, 35.6338, 8.7208)
Luminance0.3563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA835 #3E35A8
analogous
#A87735 #9FA835 #65A835
triadic
#9FA835 #359FA8 #A8359F
tetradic
#9FA835 #35A877 #3E35A8 #A83565
square
#9FA835 #35A877 #3E35A8 #A83565
split-complementary
#9FA835 #3565A8 #7735A8
monochromatic
#474B18 #737926 #9FA835 #BFC852 #D0D780

Accessibility & contrast

On white

2.58
#9FA835 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#9FA835 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA835
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA835#FFFFFF#000000##000000
##9FA8351.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A024
Deuteranopia (green-blind)
#B4A23D
Tritanopia (blue-blind)
#A99E91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa835;
/* rgb */ color: rgb(159, 168, 53);
/* oklch */ color: oklch(70.3% 0.136 113.7);
Tailwind
colors: {
  custom: {
    50: '#bec173',
    500: '#9fa835',
    950: '#000000',
  },
}
SCSS
$custom: #9fa835;
$custom-light: #bec173;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa835",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 53
  },
  "hsl": {
    "h": 64.696,
    "s": 52.036,
    "l": 43.333
  },
  "oklch": {
    "l": 0.70274,
    "c": 0.13618,
    "h": 113.7
  },
  "luminance": 0.35633
}

Semantic roles & 50–950 ramp

primary
#9FA835
secondary
#7E78C0
accent
#4CDB58
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9FA835

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

Preview Lab → · Contrast checker → · Palette generator →

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