#9F9E18#9F9E18

#9F9E18 is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.8% C 0.141 H 109.2°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#9F9E18
RGBrgb(159, 158, 24)
HSLhsl(60, 74%, 36%)
HSVhsv(60, 85%, 62%)
CMYKcmyk(0%, 0.6%, 84.9%, 37.6%)
CIE-LABlab(63.25, -14.18, 62.21)
CIE-LCHlch(63.25, 63.80, 102.84°)
OKLaboklab(67.84% -0.0464 0.1335)
OKLCHoklch(67.84% 0.141 109.2)
XYZxyz(26.6909, 31.8915, 5.6137)
Luminance0.3189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9E18 #18199F
analogous
#9F5B18 #9F9E18 #5C9F18
triadic
#9F9E18 #189F9E #9E189F
tetradic
#9F9E18 #189F5B #18199F #9F185C
square
#9F9E18 #189F5B #18199F #9F185C
split-complementary
#9F9E18 #185C9F #5B189F
monochromatic
#353408 #6A6910 #9F9E18 #D4D320 #E4E34D

Accessibility & contrast

On white

2.85
#9F9E18 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#9F9E18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9E18
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9E18#FFFFFF#000000##000000
##9F9E181.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AD9B26
Tritanopia (blue-blind)
#AB9387
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9f9e18;
/* rgb */ color: rgb(159, 158, 24);
/* oklch */ color: oklch(67.8% 0.141 109.2);
Tailwind
colors: {
  custom: {
    50: '#bfba65',
    500: '#9f9e18',
    950: '#000000',
  },
}
SCSS
$custom: #9f9e18;
$custom-light: #bfba65;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9e18",
  "rgb": {
    "r": 159,
    "g": 158,
    "b": 24
  },
  "hsl": {
    "h": 59.556,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.67836,
    "c": 0.14138,
    "h": 109.2
  },
  "luminance": 0.31891
}

Semantic roles & 50–950 ramp

primary
#9F9E18
secondary
#4D4EC6
accent
#39F037
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F9E18

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

Preview Lab → · Contrast checker → · Palette generator →

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