#9F9120#9F9120

#9F9120 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 65.0% C 0.126 H 101.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9F9120
RGBrgb(159, 145, 32)
HSLhsl(53, 66%, 37%)
HSVhsv(53, 80%, 62%)
CMYKcmyk(0%, 8.8%, 79.9%, 37.6%)
CIE-LABlab(59.64, -7.03, 56.85)
CIE-LCHlch(59.64, 57.29, 97.05°)
OKLaboklab(64.97% -0.0259 0.1235)
OKLCHoklch(64.97% 0.126 101.8)
XYZxyz(24.6854, 27.7271, 5.4178)
Luminance0.2773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9120 #202E9F
analogous
#9F5220 #9F9120 #6D9F20
triadic
#9F9120 #209F91 #91209F
tetradic
#9F9120 #209F52 #202E9F #9F206D
square
#9F9120 #209F52 #202E9F #9F206D
split-complementary
#9F9120 #206D9F #52209F
monochromatic
#39340B #6C6316 #9F9120 #D2BF2A #DED05B

Accessibility & contrast

On white

3.21
#9F9120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#9F9120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9120
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9120#FFFFFF#000000##000000
##9F91201.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C01
Deuteranopia (green-blind)
#A39229
Tritanopia (blue-blind)
#AC867C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9f9120;
/* rgb */ color: rgb(159, 145, 32);
/* oklch */ color: oklch(65.0% 0.126 101.8);
Tailwind
colors: {
  custom: {
    50: '#bfb066',
    500: '#9f9120',
    950: '#000000',
  },
}
SCSS
$custom: #9f9120;
$custom-light: #bfb066;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9120",
  "rgb": {
    "r": 159,
    "g": 145,
    "b": 32
  },
  "hsl": {
    "h": 53.386,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64969,
    "c": 0.12616,
    "h": 101.8
  },
  "luminance": 0.27726
}

Semantic roles & 50–950 ramp

primary
#9F9120
secondary
#5964C2
accent
#51E93E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F9120

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

Preview Lab → · Contrast checker → · Palette generator →

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