#9FA028#9FA028

#9FA028 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.4% C 0.136 H 110.0°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#9FA028
RGBrgb(159, 160, 40)
HSLhsl(61, 60%, 39%)
HSVhsv(61, 75%, 63%)
CMYKcmyk(0.6%, 0%, 75%, 37.3%)
CIE-LABlab(63.89, -14.65, 58.09)
CIE-LCHlch(63.89, 59.91, 104.15°)
OKLaboklab(68.37% -0.0465 0.1277)
OKLCHoklch(68.37% 0.136 110)
XYZxyz(27.2529, 32.6665, 6.8768)
Luminance0.3267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA028 #2928A0
analogous
#A06528 #9FA028 #63A028
triadic
#9FA028 #289FA0 #A0289F
tetradic
#9FA028 #28A065 #2928A0 #A02863
square
#9FA028 #28A065 #2928A0 #A02863
split-complementary
#9FA028 #2863A0 #6528A0
monochromatic
#3E3E10 #6E6F1C #9FA028 #CCCD38 #D9D969

Accessibility & contrast

On white

2.79
#9FA028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#9FA028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA028
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA028#FFFFFF#000000##000000
##9FA0281.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990D
Deuteranopia (green-blind)
#AE9C32
Tritanopia (blue-blind)
#AA9689
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa028;
/* rgb */ color: rgb(159, 160, 40);
/* oklch */ color: oklch(68.4% 0.136 110.0);
Tailwind
colors: {
  custom: {
    50: '#bfbb6c',
    500: '#9fa028',
    950: '#000000',
  },
}
SCSS
$custom: #9fa028;
$custom-light: #bfbb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa028",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 60.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68368,
    "c": 0.13586,
    "h": 110
  },
  "luminance": 0.32666
}

Semantic roles & 50–950 ramp

primary
#9FA028
secondary
#6564C0
accent
#45E346
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9FA028

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

Preview Lab → · Contrast checker → · Palette generator →

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