#9FB12C#9FB12C

#9FB12C is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.3% C 0.152 H 117.2°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#9FB12C
RGBrgb(159, 177, 44)
HSLhsl(68, 60%, 43%)
HSVhsv(68, 75%, 69%)
CMYKcmyk(10.2%, 0%, 75.1%, 30.6%)
CIE-LABlab(68.75, -23.08, 61.30)
CIE-LCHlch(68.75, 65.50, 110.63°)
OKLaboklab(72.27% -0.0695 0.1352)
OKLCHoklch(72.27% 0.152 117.2)
XYZxyz(30.4756, 38.9974, 8.3042)
Luminance0.3900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB12C #3E2CB1
analogous
#B1802C #9FB12C #5CB12C
triadic
#9FB12C #2C9FB1 #B12C9F
tetradic
#9FB12C #2CB180 #3E2CB1 #B12C5C
square
#9FB12C #2CB180 #3E2CB1 #B12C5C
split-complementary
#9FB12C #2C5CB1 #802CB1
monochromatic
#474F14 #738020 #9FB12C #BFD249 #D0DE7A

Accessibility & contrast

On white

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

On black

8.80
#9FB12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB12C
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB12C#FFFFFF#000000##000000
##9FB12C1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA70D
Deuteranopia (green-blind)
#BCA838
Tritanopia (blue-blind)
#A9A798
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb12c;
/* rgb */ color: rgb(159, 177, 44);
/* oklch */ color: oklch(72.3% 0.152 117.2);
Tailwind
colors: {
  custom: {
    50: '#bfc870',
    500: '#9fb12c',
    950: '#000000',
  },
}
SCSS
$custom: #9fb12c;
$custom-light: #bfc870;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb12c",
  "rgb": {
    "r": 159,
    "g": 177,
    "b": 44
  },
  "hsl": {
    "h": 68.12,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72271,
    "c": 0.15201,
    "h": 117.2
  },
  "luminance": 0.38997
}

Semantic roles & 50–950 ramp

primary
#9FB12C
secondary
#7E73C6
accent
#44E35A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB12C

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

Preview Lab → · Contrast checker → · Palette generator →

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