#9FA022#9FA022

#9FA022 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.3% C 0.139 H 110.1°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#9FA022
RGBrgb(159, 160, 34)
HSLhsl(60, 65%, 38%)
HSVhsv(60, 79%, 63%)
CMYKcmyk(0.6%, 0%, 78.8%, 37.3%)
CIE-LABlab(63.86, -14.89, 60.01)
CIE-LCHlch(63.86, 61.83, 103.94°)
OKLaboklab(68.33% -0.0477 0.1306)
OKLCHoklch(68.33% 0.139 110.1)
XYZxyz(27.1586, 32.6288, 6.3804)
Luminance0.3263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA022 #2322A0
analogous
#A06222 #9FA022 #60A022
triadic
#9FA022 #229FA0 #A0229F
tetradic
#9FA022 #22A062 #2322A0 #A02260
square
#9FA022 #22A062 #2322A0 #A02260
split-complementary
#9FA022 #2260A0 #6222A0
monochromatic
#3B3B0D #6D6E17 #9FA022 #D1D22D #DCDD5F

Accessibility & contrast

On white

2.79
#9FA022 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#9FA022 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA022
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA022#FFFFFF#000000##000000
##9FA0221.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#AF9C2D
Tritanopia (blue-blind)
#AB9589
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa022;
/* rgb */ color: rgb(159, 160, 34);
/* oklch */ color: oklch(68.3% 0.139 110.1);
Tailwind
colors: {
  custom: {
    50: '#bfbb69',
    500: '#9fa022',
    950: '#000000',
  },
}
SCSS
$custom: #9fa022;
$custom-light: #bfbb69;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa022",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 34
  },
  "hsl": {
    "h": 60.476,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.68334,
    "c": 0.13905,
    "h": 110.1
  },
  "luminance": 0.32628
}

Semantic roles & 50–950 ramp

primary
#9FA022
secondary
#5D5CC2
accent
#40E841
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9FA022

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

Preview Lab → · Contrast checker → · Palette generator →

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