#9FB027#9FB027

#9FB027 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.0% C 0.154 H 116.8°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#9FB027
RGBrgb(159, 176, 39)
HSLhsl(67, 64%, 42%)
HSVhsv(67, 78%, 69%)
CMYKcmyk(9.7%, 0%, 77.8%, 31%)
CIE-LABlab(68.44, -22.80, 62.61)
CIE-LCHlch(68.44, 66.64, 110.01°)
OKLaboklab(72.01% -0.0692 0.1371)
OKLCHoklch(72.01% 0.154 116.8)
XYZxyz(30.1904, 38.5685, 7.7731)
Luminance0.3857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB027 #3827B0
analogous
#B07C27 #9FB027 #5BB027
triadic
#9FB027 #279FB0 #B0279F
tetradic
#9FB027 #27B07C #3827B0 #B0275B
square
#9FB027 #27B07C #3827B0 #B0275B
split-complementary
#9FB027 #275BB0 #7C27B0
monochromatic
#444C11 #727E1C #9FB027 #C2D540 #D2E072

Accessibility & contrast

On white

2.41
#9FB027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#9FB027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB027
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB027#FFFFFF#000000##000000
##9FB0271.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BBA834
Tritanopia (blue-blind)
#A9A697
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9fb027;
/* rgb */ color: rgb(159, 176, 39);
/* oklch */ color: oklch(72.0% 0.154 116.8);
Tailwind
colors: {
  custom: {
    50: '#bfc76d',
    500: '#9fb027',
    950: '#000000',
  },
}
SCSS
$custom: #9fb027;
$custom-light: #bfc76d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb027",
  "rgb": {
    "r": 159,
    "g": 176,
    "b": 39
  },
  "hsl": {
    "h": 67.445,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72012,
    "c": 0.15355,
    "h": 116.8
  },
  "luminance": 0.38568
}

Semantic roles & 50–950 ramp

primary
#9FB027
secondary
#776CC7
accent
#41E756
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9FB027

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

Preview Lab → · Contrast checker → · Palette generator →

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