#9FB229#9FB229

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

Color values

HEX#9FB229
RGBrgb(159, 178, 41)
HSLhsl(68, 63%, 43%)
HSVhsv(68, 77%, 70%)
CMYKcmyk(10.7%, 0%, 77%, 30.2%)
CIE-LABlab(69.02, -23.71, 62.53)
CIE-LCHlch(69.02, 66.87, 110.76°)
OKLaboklab(72.48% -0.0715 0.1373)
OKLCHoklch(72.48% 0.155 117.5)
XYZxyz(30.6195, 39.3722, 8.0839)
Luminance0.3937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB229 #3C29B2
analogous
#B28029 #9FB229 #5BB229
triadic
#9FB229 #299FB2 #B2299F
tetradic
#9FB229 #29B280 #3C29B2 #B2295B
square
#9FB229 #29B280 #3C29B2 #B2295B
split-complementary
#9FB229 #295BB2 #8029B2
monochromatic
#464F12 #73801E #9FB229 #C0D444 #D1DF76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB229#FFFFFF#000000##000000
##9FB2291.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)
#BEA802
Deuteranopia (green-blind)
#BCA936
Tritanopia (blue-blind)
#A9A898
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb229;
/* rgb */ color: rgb(159, 178, 41);
/* oklch */ color: oklch(72.5% 0.155 117.5);
Tailwind
colors: {
  custom: {
    50: '#bfc96e',
    500: '#9fb229',
    950: '#000000',
  },
}
SCSS
$custom: #9fb229;
$custom-light: #bfc96e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb229",
  "rgb": {
    "r": 159,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 68.321,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72483,
    "c": 0.15476,
    "h": 117.5
  },
  "luminance": 0.39372
}

Semantic roles & 50–950 ramp

primary
#9FB229
secondary
#7C70C7
accent
#42E659
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB229

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

Preview Lab → · Contrast checker → · Palette generator →

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