#9FA934#9FA934

#9FA934 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.5% C 0.138 H 114.2°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#9FA934
RGBrgb(159, 169, 52)
HSLhsl(65, 53%, 43%)
HSVhsv(65, 69%, 66%)
CMYKcmyk(5.9%, 0%, 69.2%, 33.7%)
CIE-LABlab(66.52, -18.65, 56.25)
CIE-LCHlch(66.52, 59.26, 108.35°)
OKLaboklab(70.49% -0.0565 0.1259)
OKLCHoklch(70.49% 0.138 114.2)
XYZxyz(29.1067, 35.9953, 8.6626)
Luminance0.3599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA934 #3E34A9
analogous
#A97834 #9FA934 #64A934
triadic
#9FA934 #349FA9 #A9349F
tetradic
#9FA934 #34A978 #3E34A9 #A93464
square
#9FA934 #34A978 #3E34A9 #A93464
split-complementary
#9FA934 #3464A9 #7834A9
monochromatic
#474B17 #737A26 #9FA934 #BFC951 #D0D880

Accessibility & contrast

On white

2.56
#9FA934 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#9FA934 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA934
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA934#FFFFFF#000000##000000
##9FA9341.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A122
Deuteranopia (green-blind)
#B5A33D
Tritanopia (blue-blind)
#A99F92
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa934;
/* rgb */ color: rgb(159, 169, 52);
/* oklch */ color: oklch(70.5% 0.138 114.2);
Tailwind
colors: {
  custom: {
    50: '#bec273',
    500: '#9fa934',
    950: '#000000',
  },
}
SCSS
$custom: #9fa934;
$custom-light: #bec273;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa934",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 52
  },
  "hsl": {
    "h": 65.128,
    "s": 52.941,
    "l": 43.333
  },
  "oklch": {
    "l": 0.70494,
    "c": 0.138,
    "h": 114.2
  },
  "luminance": 0.35995
}

Semantic roles & 50–950 ramp

primary
#9FA934
secondary
#7E78C1
accent
#4BDC58
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA934

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

Preview Lab → · Contrast checker → · Palette generator →

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