#9FB045#9FB045

#9FB045 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.2% C 0.133 H 117.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#9FB045
RGBrgb(159, 176, 69)
HSLhsl(70, 44%, 48%)
HSVhsv(70, 61%, 69%)
CMYKcmyk(9.7%, 0%, 60.8%, 31%)
CIE-LABlab(68.64, -21.05, 51.40)
CIE-LCHlch(68.64, 55.54, 112.27°)
OKLaboklab(72.24% -0.0615 0.1182)
OKLCHoklch(72.24% 0.133 117.5)
XYZxyz(30.8981, 38.8516, 11.5005)
Luminance0.3885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB045 #5645B0
analogous
#B08B45 #9FB045 #69B045
triadic
#9FB045 #459FB0 #B0459F
tetradic
#9FB045 #45B08B #5645B0 #B04569
square
#9FB045 #45B08B #5645B0 #B04569
split-complementary
#9FB045 #4569B0 #8B45B0
monochromatic
#505823 #778434 #9FB045 #B7C66D #CDD799

Accessibility & contrast

On white

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

On black

8.77
#9FB045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB045
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB045#FFFFFF#000000##000000
##9FB0451.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA739
Deuteranopia (green-blind)
#B9A84C
Tritanopia (blue-blind)
#A8A799
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9fb045;
/* rgb */ color: rgb(159, 176, 69);
/* oklch */ color: oklch(72.2% 0.133 117.5);
Tailwind
colors: {
  custom: {
    50: '#bec77d',
    500: '#9fb045',
    950: '#000000',
  },
}
SCSS
$custom: #9fb045;
$custom-light: #bec77d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb045",
  "rgb": {
    "r": 159,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 69.533,
    "s": 43.673,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72243,
    "c": 0.13321,
    "h": 117.5
  },
  "luminance": 0.38851
}

Semantic roles & 50–950 ramp

primary
#9FB045
secondary
#968EC3
accent
#54D369
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9FB045

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

Preview Lab → · Contrast checker → · Palette generator →

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