#9FB236#9FB236

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

Color values

HEX#9FB236
RGBrgb(159, 178, 54)
HSLhsl(69, 53%, 45%)
HSVhsv(69, 70%, 70%)
CMYKcmyk(10.7%, 0%, 69.7%, 30.2%)
CIE-LABlab(69.10, -23.05, 58.07)
CIE-LCHlch(69.10, 62.47, 111.65°)
OKLaboklab(72.57% -0.0685 0.1301)
OKLCHoklch(72.57% 0.147 117.8)
XYZxyz(30.8850, 39.4784, 9.4824)
Luminance0.3948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB236 #4936B2
analogous
#B28736 #9FB236 #61B236
triadic
#9FB236 #369FB2 #B2369F
tetradic
#9FB236 #36B287 #4936B2 #B23661
square
#9FB236 #36B287 #4936B2 #B23661
split-complementary
#9FB236 #3661B2 #8736B2
monochromatic
#4B541A #758328 #9FB236 #BBCD59 #CEDB88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB236#FFFFFF#000000##000000
##9FB2361.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)
#BEA822
Deuteranopia (green-blind)
#BCA940
Tritanopia (blue-blind)
#A9A899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb236;
/* rgb */ color: rgb(159, 178, 54);
/* oklch */ color: oklch(72.6% 0.147 117.8);
Tailwind
colors: {
  custom: {
    50: '#bec975',
    500: '#9fb236',
    950: '#000000',
  },
}
SCSS
$custom: #9fb236;
$custom-light: #bec975;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb236",
  "rgb": {
    "r": 159,
    "g": 178,
    "b": 54
  },
  "hsl": {
    "h": 69.194,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72569,
    "c": 0.147,
    "h": 117.8
  },
  "luminance": 0.39478
}

Semantic roles & 50–950 ramp

primary
#9FB236
secondary
#8A7FC5
accent
#4BDD61
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #9FB236

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

Preview Lab → · Contrast checker → · Palette generator →

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