#9FB23A#9FB23A

#9FB23A is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.6% C 0.144 H 117.9°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#9FB23A
RGBrgb(159, 178, 58)
HSLhsl(70, 51%, 46%)
HSVhsv(70, 67%, 70%)
CMYKcmyk(10.7%, 0%, 67.4%, 30.2%)
CIE-LABlab(69.12, -22.81, 56.54)
CIE-LCHlch(69.12, 60.96, 111.97°)
OKLaboklab(72.6% -0.0675 0.1275)
OKLCHoklch(72.6% 0.144 117.9)
XYZxyz(30.9828, 39.5175, 9.9976)
Luminance0.3952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB23A #4D3AB2
analogous
#B2893A #9FB23A #63B23A
triadic
#9FB23A #3A9FB2 #B23A9F
tetradic
#9FB23A #3AB289 #4D3AB2 #B23A63
square
#9FB23A #3AB289 #4D3AB2 #B23A63
split-complementary
#9FB23A #3A63B2 #893AB2
monochromatic
#4D561C #76842B #9FB23A #BACB5F #CEDA8D

Accessibility & contrast

On white

2.36
#9FB23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#9FB23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB23A
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB23A#FFFFFF#000000##000000
##9FB23A1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA829
Deuteranopia (green-blind)
#BCA943
Tritanopia (blue-blind)
#A8A89A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb23a;
/* rgb */ color: rgb(159, 178, 58);
/* oklch */ color: oklch(72.6% 0.144 117.9);
Tailwind
colors: {
  custom: {
    50: '#bec977',
    500: '#9fb23a',
    950: '#000000',
  },
}
SCSS
$custom: #9fb23a;
$custom-light: #bec977;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb23a",
  "rgb": {
    "r": 159,
    "g": 178,
    "b": 58
  },
  "hsl": {
    "h": 69.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.726,
    "c": 0.14423,
    "h": 117.9
  },
  "luminance": 0.39517
}

Semantic roles & 50–950 ramp

primary
#9FB23A
secondary
#8E83C4
accent
#4DDA64
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9FB23A

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

Preview Lab → · Contrast checker → · Palette generator →

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