#9FA827#9FA827

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

Color values

HEX#9FA827
RGBrgb(159, 168, 39)
HSLhsl(64, 62%, 41%)
HSVhsv(64, 77%, 66%)
CMYKcmyk(5.4%, 0%, 76.8%, 34.1%)
CIE-LABlab(66.15, -18.80, 60.52)
CIE-LCHlch(66.15, 63.38, 107.25°)
OKLaboklab(70.18% -0.0581 0.1327)
OKLCHoklch(70.18% 0.145 113.6)
XYZxyz(28.6678, 35.5233, 7.2656)
Luminance0.3552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA827 #3027A8
analogous
#A87027 #9FA827 #5EA827
triadic
#9FA827 #279FA8 #A8279F
tetradic
#9FA827 #27A870 #3027A8 #A8275E
square
#9FA827 #27A870 #3027A8 #A8275E
split-complementary
#9FA827 #275EA8 #7027A8
monochromatic
#414510 #70761B #9FA827 #C7D13B #D5DD6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA827#FFFFFF#000000##000000
##9FA8271.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)
#B5A004
Deuteranopia (green-blind)
#B5A232
Tritanopia (blue-blind)
#AA9E90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa827;
/* rgb */ color: rgb(159, 168, 39);
/* oklch */ color: oklch(70.2% 0.145 113.6);
Tailwind
colors: {
  custom: {
    50: '#bfc16c',
    500: '#9fa827',
    950: '#000000',
  },
}
SCSS
$custom: #9fa827;
$custom-light: #bfc16c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa827",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 64.186,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70179,
    "c": 0.14481,
    "h": 113.6
  },
  "luminance": 0.35523
}

Semantic roles & 50–950 ramp

primary
#9FA827
secondary
#6E67C3
accent
#42E54E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA827

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

Preview Lab → · Contrast checker → · Palette generator →

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