#9FAB30#9FAB30

#9FAB30 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 70.9% C 0.143 H 115.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#9FAB30
RGBrgb(159, 171, 48)
HSLhsl(66, 56%, 43%)
HSVhsv(66, 72%, 67%)
CMYKcmyk(7%, 0%, 71.9%, 32.9%)
CIE-LABlab(67.06, -19.89, 58.29)
CIE-LCHlch(67.06, 61.59, 108.84°)
OKLaboklab(70.92% -0.0603 0.1295)
OKLCHoklch(70.92% 0.143 115)
XYZxyz(29.3953, 36.7107, 8.3331)
Luminance0.3671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAB30 #3C30AB
analogous
#AB7A30 #9FAB30 #61AB30
triadic
#9FAB30 #309FAB #AB309F
tetradic
#9FAB30 #30AB7A #3C30AB #AB3061
square
#9FAB30 #30AB7A #3C30AB #AB3061
split-complementary
#9FAB30 #3061AB #7A30AB
monochromatic
#464B15 #737B23 #9FAB30 #C0CD4C #D1DA7B

Accessibility & contrast

On white

2.52
#9FAB30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#9FAB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAB30
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAB30#FFFFFF#000000##000000
##9FAB301.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21A
Deuteranopia (green-blind)
#B7A43A
Tritanopia (blue-blind)
#A9A193
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9fab30;
/* rgb */ color: rgb(159, 171, 48);
/* oklch */ color: oklch(70.9% 0.143 115.0);
Tailwind
colors: {
  custom: {
    50: '#bfc371',
    500: '#9fab30',
    950: '#000000',
  },
}
SCSS
$custom: #9fab30;
$custom-light: #bfc371;
$custom-dark: #000000;
JSON
{
  "hex": "#9fab30",
  "rgb": {
    "r": 159,
    "g": 171,
    "b": 48
  },
  "hsl": {
    "h": 65.854,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70921,
    "c": 0.14288,
    "h": 115
  },
  "luminance": 0.3671
}

Semantic roles & 50–950 ramp

primary
#9FAB30
secondary
#7C74C3
accent
#48DF57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAB30

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

Preview Lab → · Contrast checker → · Palette generator →

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