#9FB233#9FB233

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

Color values

HEX#9FB233
RGBrgb(159, 178, 51)
HSLhsl(69, 55%, 45%)
HSVhsv(69, 71%, 70%)
CMYKcmyk(10.7%, 0%, 71.3%, 30.2%)
CIE-LABlab(69.08, -23.22, 59.17)
CIE-LCHlch(69.08, 63.56, 111.42°)
OKLaboklab(72.55% -0.0693 0.1319)
OKLCHoklch(72.55% 0.149 117.7)
XYZxyz(30.8167, 39.4511, 9.1227)
Luminance0.3945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB233 #4633B2
analogous
#B28533 #9FB233 #60B233
triadic
#9FB233 #339FB2 #B2339F
tetradic
#9FB233 #33B285 #4633B2 #B23360
square
#9FB233 #33B285 #4633B2 #B23360
split-complementary
#9FB233 #3360B2 #8533B2
monochromatic
#4A5318 #758225 #9FB233 #BCCE54 #CFDC84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB233#FFFFFF#000000##000000
##9FB2331.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)
#BEA81D
Deuteranopia (green-blind)
#BCA93D
Tritanopia (blue-blind)
#A9A899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb233;
/* rgb */ color: rgb(159, 178, 51);
/* oklch */ color: oklch(72.5% 0.149 117.7);
Tailwind
colors: {
  custom: {
    50: '#bfc973',
    500: '#9fb233',
    950: '#000000',
  },
}
SCSS
$custom: #9fb233;
$custom-light: #bfc973;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb233",
  "rgb": {
    "r": 159,
    "g": 178,
    "b": 51
  },
  "hsl": {
    "h": 68.976,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72547,
    "c": 0.14897,
    "h": 117.7
  },
  "luminance": 0.39451
}

Semantic roles & 50–950 ramp

primary
#9FB233
secondary
#877CC5
accent
#49DF5F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #9FB233

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

Preview Lab → · Contrast checker → · Palette generator →

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