#9F9B1E#9F9B1E

#9F9B1E is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.2% C 0.136 H 107.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9F9B1E
RGBrgb(159, 155, 30)
HSLhsl(58, 68%, 37%)
HSVhsv(58, 81%, 62%)
CMYKcmyk(0%, 2.5%, 81.1%, 37.6%)
CIE-LABlab(62.43, -12.43, 59.93)
CIE-LCHlch(62.43, 61.20, 101.72°)
OKLaboklab(67.19% -0.0411 0.1297)
OKLCHoklch(67.19% 0.136 107.6)
XYZxyz(26.2549, 30.9083, 5.8109)
Luminance0.3091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9B1E #1E229F
analogous
#9F5B1E #9F9B1E #629F1E
triadic
#9F9B1E #1E9F9B #9B1E9F
tetradic
#9F9B1E #1E9F5B #1E229F #9F1E62
square
#9F9B1E #1E9F5B #1E229F #9F1E62
split-complementary
#9F9B1E #1E629F #5B1E9F
monochromatic
#38370B #6C6914 #9F9B1E #D2CD28 #DFDB58

Accessibility & contrast

On white

2.92
#9F9B1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#9F9B1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9B1E
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9B1E#FFFFFF#000000##000000
##9F9B1E1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#AB9929
Tritanopia (blue-blind)
#AB9084
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9f9b1e;
/* rgb */ color: rgb(159, 155, 30);
/* oklch */ color: oklch(67.2% 0.136 107.6);
Tailwind
colors: {
  custom: {
    50: '#bfb867',
    500: '#9f9b1e',
    950: '#000000',
  },
}
SCSS
$custom: #9f9b1e;
$custom-light: #bfb867;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9b1e",
  "rgb": {
    "r": 159,
    "g": 155,
    "b": 30
  },
  "hsl": {
    "h": 58.14,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.67187,
    "c": 0.13606,
    "h": 107.6
  },
  "luminance": 0.30907
}

Semantic roles & 50–950 ramp

primary
#9F9B1E
secondary
#5659C3
accent
#42EB3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F9B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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