#9FA834#9FA834

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

Color values

HEX#9FA834
RGBrgb(159, 168, 52)
HSLhsl(65, 53%, 43%)
HSVhsv(65, 69%, 66%)
CMYKcmyk(5.4%, 0%, 69%, 34.1%)
CIE-LABlab(66.23, -18.15, 55.97)
CIE-LCHlch(66.23, 58.83, 107.97°)
OKLaboklab(70.27% -0.0551 0.1253)
OKLCHoklch(70.27% 0.137 113.7)
XYZxyz(28.9213, 35.6247, 8.6009)
Luminance0.3562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA834 #3D34A8
analogous
#A87734 #9FA834 #65A834
triadic
#9FA834 #349FA8 #A8349F
tetradic
#9FA834 #34A877 #3D34A8 #A83465
square
#9FA834 #34A877 #3D34A8 #A83465
split-complementary
#9FA834 #3465A8 #7734A8
monochromatic
#474B17 #737926 #9FA834 #C0C950 #D1D77F

Accessibility & contrast

On white

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

On black

8.12
#9FA834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA834
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA834#FFFFFF#000000##000000
##9FA8341.002.588.128.12
#FFFFFF2.581.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa834;
/* rgb */ color: rgb(159, 168, 52);
/* oklch */ color: oklch(70.3% 0.137 113.7);
Tailwind
colors: {
  custom: {
    50: '#bec173',
    500: '#9fa834',
    950: '#000000',
  },
}
SCSS
$custom: #9fa834;
$custom-light: #bec173;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa834",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 52
  },
  "hsl": {
    "h": 64.655,
    "s": 52.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.70266,
    "c": 0.13688,
    "h": 113.7
  },
  "luminance": 0.35624
}

Semantic roles & 50–950 ramp

primary
#9FA834
secondary
#7D77C0
accent
#4CDC57
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9FA834

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

Preview Lab → · Contrast checker → · Palette generator →

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