#9FA824#9FA824

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

Color values

HEX#9FA824
RGBrgb(159, 168, 36)
HSLhsl(64, 65%, 40%)
HSVhsv(64, 79%, 66%)
CMYKcmyk(5.4%, 0%, 78.6%, 34.1%)
CIE-LABlab(66.14, -18.92, 61.45)
CIE-LCHlch(66.14, 64.29, 107.11°)
OKLaboklab(70.16% -0.0587 0.1341)
OKLCHoklch(70.16% 0.146 113.6)
XYZxyz(28.6201, 35.5042, 7.0141)
Luminance0.3550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA824 #2D24A8
analogous
#A86F24 #9FA824 #5DA824
triadic
#9FA824 #249FA8 #A8249F
tetradic
#9FA824 #24A86F #2D24A8 #A8245D
square
#9FA824 #24A86F #2D24A8 #A8245D
split-complementary
#9FA824 #245DA8 #6F24A8
monochromatic
#40430E #6F7619 #9FA824 #C9D435 #D6DF68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA824#FFFFFF#000000##000000
##9FA8241.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)
#B5A000
Deuteranopia (green-blind)
#B5A230
Tritanopia (blue-blind)
#AA9E90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa824;
/* rgb */ color: rgb(159, 168, 36);
/* oklch */ color: oklch(70.2% 0.146 113.6);
Tailwind
colors: {
  custom: {
    50: '#bfc16b',
    500: '#9fa824',
    950: '#000000',
  },
}
SCSS
$custom: #9fa824;
$custom-light: #bfc16b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa824",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 36
  },
  "hsl": {
    "h": 64.091,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.70162,
    "c": 0.14634,
    "h": 113.6
  },
  "luminance": 0.35504
}

Semantic roles & 50–950 ramp

primary
#9FA824
secondary
#6A63C4
accent
#40E84C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA824

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

Preview Lab → · Contrast checker → · Palette generator →

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