#9FB048#9FB048

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

Color values

HEX#9FB048
RGBrgb(159, 176, 72)
HSLhsl(70, 42%, 49%)
HSVhsv(70, 59%, 69%)
CMYKcmyk(9.7%, 0%, 59.1%, 31%)
CIE-LABlab(68.67, -20.81, 50.09)
CIE-LCHlch(68.67, 54.24, 112.56°)
OKLaboklab(72.27% -0.0605 0.1158)
OKLCHoklch(72.27% 0.131 117.6)
XYZxyz(30.9936, 38.8898, 12.0034)
Luminance0.3889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB048 #5948B0
analogous
#B08D48 #9FB048 #6BB048
triadic
#9FB048 #489FB0 #B0489F
tetradic
#9FB048 #48B08D #5948B0 #B0486B
square
#9FB048 #48B08D #5948B0 #B0486B
split-complementary
#9FB048 #486BB0 #8D48B0
monochromatic
#515924 #788536 #9FB048 #B7C570 #CDD69C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB048#FFFFFF#000000##000000
##9FB0481.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)
#BBA73D
Deuteranopia (green-blind)
#B9A84F
Tritanopia (blue-blind)
#A8A79A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9fb048;
/* rgb */ color: rgb(159, 176, 72);
/* oklch */ color: oklch(72.3% 0.131 117.6);
Tailwind
colors: {
  custom: {
    50: '#bec77f',
    500: '#9fb048',
    950: '#000000',
  },
}
SCSS
$custom: #9fb048;
$custom-light: #bec77f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb048",
  "rgb": {
    "r": 159,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 69.808,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72274,
    "c": 0.13063,
    "h": 117.6
  },
  "luminance": 0.38889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9FB048

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

Preview Lab → · Contrast checker → · Palette generator →

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