#9FA710#9FA710

#9FA710 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.9% C 0.153 H 113.2°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#9FA710
RGBrgb(159, 167, 16)
HSLhsl(63, 83%, 36%)
HSVhsv(63, 90%, 65%)
CMYKcmyk(4.8%, 0%, 90.4%, 34.5%)
CIE-LABlab(65.78, -18.99, 65.89)
CIE-LCHlch(65.78, 68.57, 106.08°)
OKLaboklab(69.86% -0.0601 0.1404)
OKLCHoklch(69.86% 0.153 113.2)
XYZxyz(28.2113, 35.0464, 5.7686)
Luminance0.3505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA710 #1810A7
analogous
#A76310 #9FA710 #53A710
triadic
#9FA710 #109FA7 #A7109F
tetradic
#9FA710 #10A763 #1810A7 #A71053
square
#9FA710 #10A763 #1810A7 #A71053
split-complementary
#9FA710 #1053A7 #6310A7
monochromatic
#353705 #6A6F0B #9FA710 #D4DF15 #E4ED44

Accessibility & contrast

On white

2.62
#9FA710 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#9FA710 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA710
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA710#FFFFFF#000000##000000
##9FA7101.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#B4A124
Tritanopia (blue-blind)
#AB9C8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa710;
/* rgb */ color: rgb(159, 167, 16);
/* oklch */ color: oklch(69.9% 0.153 113.2);
Tailwind
colors: {
  custom: {
    50: '#c0c064',
    500: '#9fa710',
    950: '#000000',
  },
}
SCSS
$custom: #9fa710;
$custom-light: #c0c064;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa710",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 16
  },
  "hsl": {
    "h": 63.179,
    "s": 82.514,
    "l": 35.882
  },
  "oklch": {
    "l": 0.69856,
    "c": 0.15273,
    "h": 113.2
  },
  "luminance": 0.35046
}

Semantic roles & 50–950 ramp

primary
#9FA710
secondary
#4D45CD
accent
#2FF93A
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131206
muted
#82817A

Preview Lab

Preview with #9FA710

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

Preview Lab → · Contrast checker → · Palette generator →

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