#9FA018#9FA018

#9FA018 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.3% C 0.143 H 110.1°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9FA018
RGBrgb(159, 160, 24)
HSLhsl(60, 74%, 36%)
HSVhsv(60, 85%, 63%)
CMYKcmyk(0.6%, 0%, 85%, 37.3%)
CIE-LABlab(63.82, -15.22, 62.68)
CIE-LCHlch(63.82, 64.50, 103.65°)
OKLaboklab(68.29% -0.0493 0.1346)
OKLCHoklch(68.29% 0.143 110.1)
XYZxyz(27.0348, 32.5793, 5.7283)
Luminance0.3258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA018 #1918A0
analogous
#A05D18 #9FA018 #5BA018
triadic
#9FA018 #189FA0 #A0189F
tetradic
#9FA018 #18A05D #1918A0 #A0185B
square
#9FA018 #18A05D #1918A0 #A0185B
split-complementary
#9FA018 #185BA0 #5D18A0
monochromatic
#353608 #6A6B10 #9FA018 #D4D520 #E3E44E

Accessibility & contrast

On white

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

On black

7.52
#9FA018 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA018
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA018#FFFFFF#000000##000000
##9FA0181.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AF9C27
Tritanopia (blue-blind)
#AB9588
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa018;
/* rgb */ color: rgb(159, 160, 24);
/* oklch */ color: oklch(68.3% 0.143 110.1);
Tailwind
colors: {
  custom: {
    50: '#bfbb65',
    500: '#9fa018',
    950: '#000000',
  },
}
SCSS
$custom: #9fa018;
$custom-light: #bfbb65;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa018",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 24
  },
  "hsl": {
    "h": 60.441,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.68289,
    "c": 0.14332,
    "h": 110.1
  },
  "luminance": 0.32578
}

Semantic roles & 50–950 ramp

primary
#9FA018
secondary
#4E4DC6
accent
#37F139
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9FA018

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

Preview Lab → · Contrast checker → · Palette generator →

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