#9F9C1E#9F9C1E

#9F9C1E is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.4% C 0.137 H 108.1°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9F9C1E
RGBrgb(159, 156, 30)
HSLhsl(59, 68%, 37%)
HSVhsv(59, 81%, 62%)
CMYKcmyk(0%, 1.9%, 81.1%, 37.6%)
CIE-LABlab(62.71, -12.95, 60.17)
CIE-LCHlch(62.71, 61.55, 102.15°)
OKLaboklab(67.41% -0.0426 0.1302)
OKLCHoklch(67.41% 0.137 108.1)
XYZxyz(26.4220, 31.2425, 5.8667)
Luminance0.3124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9C1E #1E219F
analogous
#9F5C1E #9F9C1E #619F1E
triadic
#9F9C1E #1E9F9C #9C1E9F
tetradic
#9F9C1E #1E9F5C #1E219F #9F1E61
square
#9F9C1E #1E9F5C #1E219F #9F1E61
split-complementary
#9F9C1E #1E619F #5C1E9F
monochromatic
#38370B #6C6914 #9F9C1E #D2CF28 #DFDC58

Accessibility & contrast

On white

2.90
#9F9C1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#9F9C1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9C1E
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9C1E#FFFFFF#000000##000000
##9F9C1E1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#AC9A2A
Tritanopia (blue-blind)
#AB9185
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9f9c1e;
/* rgb */ color: rgb(159, 156, 30);
/* oklch */ color: oklch(67.4% 0.137 108.1);
Tailwind
colors: {
  custom: {
    50: '#bfb867',
    500: '#9f9c1e',
    950: '#000000',
  },
}
SCSS
$custom: #9f9c1e;
$custom-light: #bfb867;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9c1e",
  "rgb": {
    "r": 159,
    "g": 156,
    "b": 30
  },
  "hsl": {
    "h": 58.605,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.67411,
    "c": 0.13701,
    "h": 108.1
  },
  "luminance": 0.31242
}

Semantic roles & 50–950 ramp

primary
#9F9C1E
secondary
#5658C3
accent
#41EB3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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