#9FAB45#9FAB45

#9FAB45 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.1% C 0.127 H 115.3°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#9FAB45
RGBrgb(159, 171, 69)
HSLhsl(67, 43%, 47%)
HSVhsv(67, 60%, 67%)
CMYKcmyk(7%, 0%, 59.6%, 32.9%)
CIE-LABlab(67.22, -18.53, 49.83)
CIE-LCHlch(67.22, 53.17, 110.39°)
OKLaboklab(71.1% -0.0544 0.1149)
OKLCHoklch(71.1% 0.127 115.3)
XYZxyz(29.9358, 36.9269, 11.1797)
Luminance0.3693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAB45 #5145AB
analogous
#AB8445 #9FAB45 #6CAB45
triadic
#9FAB45 #459FAB #AB459F
tetradic
#9FAB45 #45AB84 #5145AB #AB456C
square
#9FAB45 #45AB84 #5145AB #AB456C
split-complementary
#9FAB45 #456CAB #8445AB
monochromatic
#4E5422 #767F33 #9FAB45 #B9C36A #CDD596

Accessibility & contrast

On white

2.50
#9FAB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#9FAB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAB45
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAB45#FFFFFF#000000##000000
##9FAB451.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A33A
Deuteranopia (green-blind)
#B5A54B
Tritanopia (blue-blind)
#A8A295
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fab45;
/* rgb */ color: rgb(159, 171, 69);
/* oklch */ color: oklch(71.1% 0.127 115.3);
Tailwind
colors: {
  custom: {
    50: '#bec37d',
    500: '#9fab45',
    950: '#000000',
  },
}
SCSS
$custom: #9fab45;
$custom-light: #bec37d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fab45",
  "rgb": {
    "r": 159,
    "g": 171,
    "b": 69
  },
  "hsl": {
    "h": 67.059,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71103,
    "c": 0.12708,
    "h": 115.3
  },
  "luminance": 0.36926
}

Semantic roles & 50–950 ramp

primary
#9FAB45
secondary
#928BC0
accent
#56D264
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FAB45

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

Preview Lab → · Contrast checker → · Palette generator →

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