#9FB047#9FB047

#9FB047 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.3% C 0.132 H 117.6°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#9FB047
RGBrgb(159, 176, 71)
HSLhsl(70, 43%, 48%)
HSVhsv(70, 60%, 69%)
CMYKcmyk(9.7%, 0%, 59.7%, 31%)
CIE-LABlab(68.66, -20.89, 50.53)
CIE-LCHlch(68.66, 54.68, 112.46°)
OKLaboklab(72.26% -0.0608 0.1166)
OKLCHoklch(72.26% 0.132 117.6)
XYZxyz(30.9613, 38.8768, 11.8329)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB047 #5847B0
analogous
#B08C47 #9FB047 #6AB047
triadic
#9FB047 #479FB0 #B0479F
tetradic
#9FB047 #47B08C #5847B0 #B0476A
square
#9FB047 #47B08C #5847B0 #B0476A
split-complementary
#9FB047 #476AB0 #8C47B0
monochromatic
#505924 #788435 #9FB047 #B7C56F #CDD79B

Accessibility & contrast

On white

2.39
#9FB047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#9FB047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB047
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB047#FFFFFF#000000##000000
##9FB0471.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA73B
Deuteranopia (green-blind)
#B9A84E
Tritanopia (blue-blind)
#A8A79A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9fb047;
/* rgb */ color: rgb(159, 176, 71);
/* oklch */ color: oklch(72.3% 0.132 117.6);
Tailwind
colors: {
  custom: {
    50: '#bec77e',
    500: '#9fb047',
    950: '#000000',
  },
}
SCSS
$custom: #9fb047;
$custom-light: #bec77e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb047",
  "rgb": {
    "r": 159,
    "g": 176,
    "b": 71
  },
  "hsl": {
    "h": 69.714,
    "s": 42.51,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72264,
    "c": 0.1315,
    "h": 117.6
  },
  "luminance": 0.38877
}

Semantic roles & 50–950 ramp

primary
#9FB047
secondary
#9890C3
accent
#56D26A
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9FB047

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

Preview Lab → · Contrast checker → · Palette generator →

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