#9FB427#9FB427

#9FB427 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 72.9% C 0.158 H 118.2°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#9FB427
RGBrgb(159, 180, 39)
HSLhsl(69, 64%, 43%)
HSVhsv(69, 78%, 71%)
CMYKcmyk(11.7%, 0%, 78.3%, 29.4%)
CIE-LABlab(69.58, -24.77, 63.66)
CIE-LCHlch(69.58, 68.31, 111.26°)
OKLaboklab(72.93% -0.0746 0.1393)
OKLCHoklch(72.93% 0.158 118.2)
XYZxyz(30.9863, 40.1602, 8.0384)
Luminance0.4016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB427 #3C27B4
analogous
#B48227 #9FB427 #58B427
triadic
#9FB427 #279FB4 #B4279F
tetradic
#9FB427 #27B482 #3C27B4 #B42758
square
#9FB427 #27B482 #3C27B4 #B42758
split-complementary
#9FB427 #2758B4 #8227B4
monochromatic
#464F11 #73821C #9FB427 #C0D642 #D1E174

Accessibility & contrast

On white

2.33
#9FB427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#9FB427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB427
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB427#FFFFFF#000000##000000
##9FB4271.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#BEAB35
Tritanopia (blue-blind)
#A9AA9A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9fb427;
/* rgb */ color: rgb(159, 180, 39);
/* oklch */ color: oklch(72.9% 0.158 118.2);
Tailwind
colors: {
  custom: {
    50: '#bfca6e',
    500: '#9fb427',
    950: '#000000',
  },
}
SCSS
$custom: #9fb427;
$custom-light: #bfca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb427",
  "rgb": {
    "r": 159,
    "g": 180,
    "b": 39
  },
  "hsl": {
    "h": 68.936,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72933,
    "c": 0.15801,
    "h": 118.2
  },
  "luminance": 0.4016
}

Semantic roles & 50–950 ramp

primary
#9FB427
secondary
#7C6FC8
accent
#40E759
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB427

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

Preview Lab → · Contrast checker → · Palette generator →

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