#9F8618#9F8618

#9F8618 is a light, vivid yellow. Relative luminance 0.245; OKLCH L 62.5% C 0.122 H 94.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9F8618
RGBrgb(159, 134, 24)
HSLhsl(49, 74%, 36%)
HSVhsv(49, 85%, 62%)
CMYKcmyk(0%, 15.7%, 84.9%, 37.6%)
CIE-LABlab(56.57, -1.29, 56.60)
CIE-LCHlch(56.57, 56.61, 91.30°)
OKLaboklab(62.53% -0.0104 0.1213)
OKLCHoklch(62.53% 0.122 94.9)
XYZxyz(22.9894, 24.4884, 4.3798)
Luminance0.2449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8618 #18319F
analogous
#9F4218 #9F8618 #749F18
triadic
#9F8618 #189F86 #86189F
tetradic
#9F8618 #189F42 #18319F #9F1874
square
#9F8618 #189F42 #18319F #9F1874
split-complementary
#9F8618 #18749F #42189F
monochromatic
#352C08 #6A5910 #9F8618 #D4B320 #E4C84D

Accessibility & contrast

On white

3.56
#9F8618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#9F8618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8618
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8618#FFFFFF#000000##000000
##9F86181.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#9C8B21
Tritanopia (blue-blind)
#AD7A72
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9f8618;
/* rgb */ color: rgb(159, 134, 24);
/* oklch */ color: oklch(62.5% 0.122 94.9);
Tailwind
colors: {
  custom: {
    50: '#c0a861',
    500: '#9f8618',
    950: '#000000',
  },
}
SCSS
$custom: #9f8618;
$custom-light: #c0a861;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8618",
  "rgb": {
    "r": 159,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 48.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62526,
    "c": 0.12172,
    "h": 94.9
  },
  "luminance": 0.24487
}

Semantic roles & 50–950 ramp

primary
#9F8618
secondary
#4D63C6
accent
#5AF037
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #9F8618

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

Preview Lab → · Contrast checker → · Palette generator →

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