#9F9F1E#9F9F1E

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

Color values

HEX#9F9F1E
RGBrgb(159, 159, 30)
HSLhsl(60, 68%, 37%)
HSVhsv(60, 81%, 62%)
CMYKcmyk(0%, 0%, 81.1%, 37.6%)
CIE-LABlab(63.56, -14.52, 60.91)
CIE-LCHlch(63.56, 62.62, 103.41°)
OKLaboklab(68.09% -0.0469 0.1318)
OKLCHoklch(68.09% 0.14 109.6)
XYZxyz(26.9316, 32.2618, 6.0365)
Luminance0.3226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9F1E #1E1E9F
analogous
#9F5F1E #9F9F1E #5F9F1E
triadic
#9F9F1E #1E9F9F #9F1E9F
tetradic
#9F9F1E #1E9F5F #1E1E9F #9F1E5F
square
#9F9F1E #1E9F5F #1E1E9F #9F1E5F
split-complementary
#9F9F1E #1E5F9F #5F1E9F
monochromatic
#38380B #6C6C14 #9F9F1E #D2D228 #DFDF58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9F1E#FFFFFF#000000##000000
##9F9F1E1.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)
#AC9800
Deuteranopia (green-blind)
#AE9C2A
Tritanopia (blue-blind)
#AB9488
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9f9f1e;
/* rgb */ color: rgb(159, 159, 30);
/* oklch */ color: oklch(68.1% 0.140 109.6);
Tailwind
colors: {
  custom: {
    50: '#bfbb67',
    500: '#9f9f1e',
    950: '#000000',
  },
}
SCSS
$custom: #9f9f1e;
$custom-light: #bfbb67;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9f1e",
  "rgb": {
    "r": 159,
    "g": 159,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.68088,
    "c": 0.13992,
    "h": 109.6
  },
  "luminance": 0.32261
}

Semantic roles & 50–950 ramp

primary
#9F9F1E
secondary
#5656C3
accent
#3DEB3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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