#9F941D#9F941D

#9F941D is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.6% C 0.130 H 103.8°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9F941D
RGBrgb(159, 148, 29)
HSLhsl(55, 69%, 37%)
HSVhsv(55, 82%, 62%)
CMYKcmyk(0%, 6.9%, 81.8%, 37.6%)
CIE-LABlab(60.46, -8.75, 58.50)
CIE-LCHlch(60.46, 59.15, 98.51°)
OKLaboklab(65.62% -0.0309 0.1264)
OKLCHoklch(65.62% 0.13 103.8)
XYZxyz(25.1109, 28.6405, 5.3676)
Luminance0.2864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F941D #1D289F
analogous
#9F531D #9F941D #699F1D
triadic
#9F941D #1D9F94 #941D9F
tetradic
#9F941D #1D9F53 #1D289F #9F1D69
square
#9F941D #1D9F53 #1D289F #9F1D69
split-complementary
#9F941D #1D699F #531D9F
monochromatic
#37340A #6B6414 #9F941D #D3C426 #E0D556

Accessibility & contrast

On white

3.12
#9F941D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#9F941D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F941D
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F941D#FFFFFF#000000##000000
##9F941D1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A69427
Tritanopia (blue-blind)
#AC897E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9f941d;
/* rgb */ color: rgb(159, 148, 29);
/* oklch */ color: oklch(65.6% 0.130 103.8);
Tailwind
colors: {
  custom: {
    50: '#bfb365',
    500: '#9f941d',
    950: '#000000',
  },
}
SCSS
$custom: #9f941d;
$custom-light: #bfb365;
$custom-dark: #000000;
JSON
{
  "hex": "#9f941d",
  "rgb": {
    "r": 159,
    "g": 148,
    "b": 29
  },
  "hsl": {
    "h": 54.923,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65618,
    "c": 0.13015,
    "h": 103.8
  },
  "luminance": 0.28639
}

Semantic roles & 50–950 ramp

primary
#9F941D
secondary
#545EC4
accent
#4BEC3C
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F941D

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

Preview Lab → · Contrast checker → · Palette generator →

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