#9FA034#9FA034

#9FA034 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.5% C 0.128 H 109.9°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#9FA034
RGBrgb(159, 160, 52)
HSLhsl(61, 51%, 42%)
HSVhsv(61, 68%, 63%)
CMYKcmyk(0.6%, 0%, 67.5%, 37.3%)
CIE-LABlab(63.97, -14.03, 53.68)
CIE-LCHlch(63.97, 55.48, 104.64°)
OKLaboklab(68.45% -0.0435 0.1205)
OKLCHoklch(68.45% 0.128 109.9)
XYZxyz(27.4896, 32.7612, 8.1236)
Luminance0.3276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA034 #3534A0
analogous
#A06B34 #9FA034 #69A034
triadic
#9FA034 #349FA0 #A0349F
tetradic
#9FA034 #34A06B #3534A0 #A03469
square
#9FA034 #34A06B #3534A0 #A03469
split-complementary
#9FA034 #3469A0 #6B34A0
monochromatic
#434416 #717225 #9FA034 #C4C54C #D3D47A

Accessibility & contrast

On white

2.78
#9FA034 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#9FA034 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA034
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA034#FFFFFF#000000##000000
##9FA0341.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9924
Deuteranopia (green-blind)
#AE9D3B
Tritanopia (blue-blind)
#AA968A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa034;
/* rgb */ color: rgb(159, 160, 52);
/* oklch */ color: oklch(68.5% 0.128 109.9);
Tailwind
colors: {
  custom: {
    50: '#bebb72',
    500: '#9fa034',
    950: '#000000',
  },
}
SCSS
$custom: #9fa034;
$custom-light: #bebb72;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa034",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 52
  },
  "hsl": {
    "h": 60.556,
    "s": 50.943,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68454,
    "c": 0.12811,
    "h": 109.9
  },
  "luminance": 0.3276
}

Semantic roles & 50–950 ramp

primary
#9FA034
secondary
#7473BD
accent
#4DDA4F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9FA034

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

Preview Lab → · Contrast checker → · Palette generator →

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