#9FA820#9FA820

#9FA820 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.1% C 0.148 H 113.6°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#9FA820
RGBrgb(159, 168, 32)
HSLhsl(64, 68%, 39%)
HSVhsv(64, 81%, 66%)
CMYKcmyk(5.4%, 0%, 81%, 34.1%)
CIE-LABlab(66.12, -19.07, 62.59)
CIE-LCHlch(66.12, 65.43, 106.94°)
OKLaboklab(70.14% -0.0594 0.1358)
OKLCHoklch(70.14% 0.148 113.6)
XYZxyz(28.5623, 35.4811, 6.7101)
Luminance0.3548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA820 #2920A8
analogous
#A86D20 #9FA820 #5BA820
triadic
#9FA820 #209FA8 #A8209F
tetradic
#9FA820 #20A86D #2920A8 #A8205B
square
#9FA820 #20A86D #2920A8 #A8205B
split-complementary
#9FA820 #205BA8 #6D20A8
monochromatic
#3E410C #6E7516 #9FA820 #CCD72E #D9E161

Accessibility & contrast

On white

2.59
#9FA820 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#9FA820 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA820
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA820#FFFFFF#000000##000000
##9FA8201.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B5A22D
Tritanopia (blue-blind)
#AA9D8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa820;
/* rgb */ color: rgb(159, 168, 32);
/* oklch */ color: oklch(70.1% 0.148 113.6);
Tailwind
colors: {
  custom: {
    50: '#bfc169',
    500: '#9fa820',
    950: '#000000',
  },
}
SCSS
$custom: #9fa820;
$custom-light: #bfc169;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa820",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 32
  },
  "hsl": {
    "h": 63.971,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.70142,
    "c": 0.14821,
    "h": 113.6
  },
  "luminance": 0.3548
}

Semantic roles & 50–950 ramp

primary
#9FA820
secondary
#655EC6
accent
#3DEB48
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA820

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

Preview Lab → · Contrast checker → · Palette generator →

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