#9FB237#9FB237

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

Color values

HEX#9FB237
RGBrgb(159, 178, 55)
HSLhsl(69, 53%, 46%)
HSVhsv(69, 69%, 70%)
CMYKcmyk(10.7%, 0%, 69.1%, 30.2%)
CIE-LABlab(69.10, -22.99, 57.69)
CIE-LCHlch(69.10, 62.10, 111.73°)
OKLaboklab(72.58% -0.0683 0.1294)
OKLCHoklch(72.58% 0.146 117.8)
XYZxyz(30.9087, 39.4879, 9.6073)
Luminance0.3949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB237 #4A37B2
analogous
#B28737 #9FB237 #61B237
triadic
#9FB237 #379FB2 #B2379F
tetradic
#9FB237 #37B287 #4A37B2 #B23761
square
#9FB237 #37B287 #4A37B2 #B23761
split-complementary
#9FB237 #3761B2 #8737B2
monochromatic
#4B541A #758329 #9FB237 #BACC5A #CEDB89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB237#FFFFFF#000000##000000
##9FB2371.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)
#BEA824
Deuteranopia (green-blind)
#BCA940
Tritanopia (blue-blind)
#A9A89A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb237;
/* rgb */ color: rgb(159, 178, 55);
/* oklch */ color: oklch(72.6% 0.146 117.8);
Tailwind
colors: {
  custom: {
    50: '#bec975',
    500: '#9fb237',
    950: '#000000',
  },
}
SCSS
$custom: #9fb237;
$custom-light: #bec975;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb237",
  "rgb": {
    "r": 159,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 69.268,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72577,
    "c": 0.14633,
    "h": 117.8
  },
  "luminance": 0.39488
}

Semantic roles & 50–950 ramp

primary
#9FB237
secondary
#8B80C5
accent
#4CDC62
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9FB237

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

Preview Lab → · Contrast checker → · Palette generator →

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