#9F9A1D#9F9A1D

#9F9A1D is a light, vivid yellow. Relative luminance 0.306; OKLCH L 67.0% C 0.136 H 107.1°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9F9A1D
RGBrgb(159, 154, 29)
HSLhsl(58, 69%, 37%)
HSVhsv(58, 82%, 62%)
CMYKcmyk(0%, 3.1%, 81.8%, 37.6%)
CIE-LABlab(62.14, -11.94, 59.96)
CIE-LCHlch(62.14, 61.14, 101.26°)
OKLaboklab(66.96% -0.0398 0.1296)
OKLCHoklch(66.96% 0.136 107.1)
XYZxyz(26.0766, 30.5718, 5.6895)
Luminance0.3057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9A1D #1D229F
analogous
#9F591D #9F9A1D #639F1D
triadic
#9F9A1D #1D9F9A #9A1D9F
tetradic
#9F9A1D #1D9F59 #1D229F #9F1D63
square
#9F9A1D #1D9F59 #1D229F #9F1D63
split-complementary
#9F9A1D #1D639F #591D9F
monochromatic
#37360A #6B6814 #9F9A1D #D3CC26 #E0DB56

Accessibility & contrast

On white

2.95
#9F9A1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#9F9A1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9A1D
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9A1D#FFFFFF#000000##000000
##9F9A1D1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#AA9828
Tritanopia (blue-blind)
#AB8F83
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9f9a1d;
/* rgb */ color: rgb(159, 154, 29);
/* oklch */ color: oklch(67.0% 0.136 107.1);
Tailwind
colors: {
  custom: {
    50: '#bfb766',
    500: '#9f9a1d',
    950: '#000000',
  },
}
SCSS
$custom: #9f9a1d;
$custom-light: #bfb766;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9a1d",
  "rgb": {
    "r": 159,
    "g": 154,
    "b": 29
  },
  "hsl": {
    "h": 57.692,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66957,
    "c": 0.13557,
    "h": 107.1
  },
  "luminance": 0.30571
}

Semantic roles & 50–950 ramp

primary
#9F9A1D
secondary
#5458C4
accent
#43EC3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F9A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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