#9FB225#9FB225

#9FB225 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.5% C 0.157 H 117.5°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#9FB225
RGBrgb(159, 178, 37)
HSLhsl(68, 66%, 42%)
HSVhsv(68, 79%, 70%)
CMYKcmyk(10.7%, 0%, 79.2%, 30.2%)
CIE-LABlab(69.00, -23.87, 63.72)
CIE-LCHlch(69.00, 68.05, 110.54°)
OKLaboklab(72.46% -0.0723 0.1391)
OKLCHoklch(72.46% 0.157 117.5)
XYZxyz(30.5532, 39.3456, 7.7348)
Luminance0.3935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB225 #3825B2
analogous
#B27F25 #9FB225 #59B225
triadic
#9FB225 #259FB2 #B2259F
tetradic
#9FB225 #25B27F #3825B2 #B22559
square
#9FB225 #25B27F #3825B2 #B22559
split-complementary
#9FB225 #2559B2 #7F25B2
monochromatic
#444D10 #727F1A #9FB225 #C2D73D #D2E170

Accessibility & contrast

On white

2.37
#9FB225 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#9FB225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB225
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB225#FFFFFF#000000##000000
##9FB2251.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BDA933
Tritanopia (blue-blind)
#A9A898
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb225;
/* rgb */ color: rgb(159, 178, 37);
/* oklch */ color: oklch(72.5% 0.157 117.5);
Tailwind
colors: {
  custom: {
    50: '#bfc86d',
    500: '#9fb225',
    950: '#000000',
  },
}
SCSS
$custom: #9fb225;
$custom-light: #bfc86d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb225",
  "rgb": {
    "r": 159,
    "g": 178,
    "b": 37
  },
  "hsl": {
    "h": 68.085,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72462,
    "c": 0.15674,
    "h": 117.5
  },
  "luminance": 0.39345
}

Semantic roles & 50–950 ramp

primary
#9FB225
secondary
#776BC8
accent
#3FE956
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9FB225

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

Preview Lab → · Contrast checker → · Palette generator →

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