#9FB230#9FB230

#9FB230 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.5% C 0.151 H 117.6°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#9FB230
RGBrgb(159, 178, 48)
HSLhsl(69, 58%, 44%)
HSVhsv(69, 73%, 70%)
CMYKcmyk(10.7%, 0%, 73%, 30.2%)
CIE-LABlab(69.06, -23.37, 60.23)
CIE-LCHlch(69.06, 64.61, 111.21°)
OKLaboklab(72.53% -0.07 0.1336)
OKLCHoklch(72.53% 0.151 117.6)
XYZxyz(30.7527, 39.4254, 8.7856)
Luminance0.3942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB230 #4330B2
analogous
#B28430 #9FB230 #5EB230
triadic
#9FB230 #309FB2 #B2309F
tetradic
#9FB230 #30B284 #4330B2 #B2305E
square
#9FB230 #30B284 #4330B2 #B2305E
split-complementary
#9FB230 #305EB2 #8430B2
monochromatic
#495216 #748223 #9FB230 #BDD050 #CFDD80

Accessibility & contrast

On white

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

On black

8.89
#9FB230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB230
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB230#FFFFFF#000000##000000
##9FB2301.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA817
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#A9A899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb230;
/* rgb */ color: rgb(159, 178, 48);
/* oklch */ color: oklch(72.5% 0.151 117.6);
Tailwind
colors: {
  custom: {
    50: '#bfc972',
    500: '#9fb230',
    950: '#000000',
  },
}
SCSS
$custom: #9fb230;
$custom-light: #bfc972;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb230",
  "rgb": {
    "r": 159,
    "g": 178,
    "b": 48
  },
  "hsl": {
    "h": 68.769,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72526,
    "c": 0.15082,
    "h": 117.6
  },
  "luminance": 0.39425
}

Semantic roles & 50–950 ramp

primary
#9FB230
secondary
#8478C6
accent
#47E15E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB230

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

Preview Lab → · Contrast checker → · Palette generator →

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