#9F9F18#9F9F18

#9F9F18 is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.1% C 0.142 H 109.7°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#9F9F18
RGBrgb(159, 159, 24)
HSLhsl(60, 74%, 36%)
HSVhsv(60, 85%, 62%)
CMYKcmyk(0%, 0%, 84.9%, 37.6%)
CIE-LABlab(63.54, -14.70, 62.44)
CIE-LCHlch(63.54, 64.15, 103.25°)
OKLaboklab(68.06% -0.0479 0.1341)
OKLCHoklch(68.06% 0.142 109.7)
XYZxyz(26.8622, 32.2340, 5.6708)
Luminance0.3223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9F18 #18189F
analogous
#9F5B18 #9F9F18 #5B9F18
triadic
#9F9F18 #189F9F #9F189F
tetradic
#9F9F18 #189F5B #18189F #9F185B
square
#9F9F18 #189F5B #18189F #9F185B
split-complementary
#9F9F18 #185B9F #5B189F
monochromatic
#353508 #6A6A10 #9F9F18 #D4D420 #E4E44D

Accessibility & contrast

On white

2.82
#9F9F18 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#9F9F18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9F18
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9F18#FFFFFF#000000##000000
##9F9F181.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AE9C26
Tritanopia (blue-blind)
#AB9487
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9f9f18;
/* rgb */ color: rgb(159, 159, 24);
/* oklch */ color: oklch(68.1% 0.142 109.7);
Tailwind
colors: {
  custom: {
    50: '#bfbb65',
    500: '#9f9f18',
    950: '#000000',
  },
}
SCSS
$custom: #9f9f18;
$custom-light: #bfbb65;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9f18",
  "rgb": {
    "r": 159,
    "g": 159,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.68062,
    "c": 0.14235,
    "h": 109.7
  },
  "luminance": 0.32233
}

Semantic roles & 50–950 ramp

primary
#9F9F18
secondary
#4D4DC6
accent
#37F037
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F9F18

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

Preview Lab → · Contrast checker → · Palette generator →

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