#9F9127#9F9127

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

Color values

HEX#9F9127
RGBrgb(159, 145, 39)
HSLhsl(53, 61%, 39%)
HSVhsv(53, 75%, 62%)
CMYKcmyk(0%, 8.8%, 75.5%, 37.6%)
CIE-LABlab(59.68, -6.74, 54.49)
CIE-LCHlch(59.68, 54.90, 97.05°)
OKLaboklab(65.01% -0.0244 0.1198)
OKLCHoklch(65.01% 0.122 101.5)
XYZxyz(24.7908, 27.7693, 5.9733)
Luminance0.2777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9127 #27359F
analogous
#9F5527 #9F9127 #719F27
triadic
#9F9127 #279F91 #91279F
tetradic
#9F9127 #279F55 #27359F #9F2771
square
#9F9127 #279F55 #27359F #9F2771
split-complementary
#9F9127 #27719F #55279F
monochromatic
#3D370F #6E641B #9F9127 #CEBC36 #DACC67

Accessibility & contrast

On white

3.20
#9F9127 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9127#FFFFFF#000000##000000
##9F91271.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D13
Deuteranopia (green-blind)
#A3922E
Tritanopia (blue-blind)
#AC867D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9f9127;
/* rgb */ color: rgb(159, 145, 39);
/* oklch */ color: oklch(65.0% 0.122 101.5);
Tailwind
colors: {
  custom: {
    50: '#bfb069',
    500: '#9f9127',
    950: '#000000',
  },
}
SCSS
$custom: #9f9127;
$custom-light: #bfb069;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9127",
  "rgb": {
    "r": 159,
    "g": 145,
    "b": 39
  },
  "hsl": {
    "h": 53,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65012,
    "c": 0.12228,
    "h": 101.5
  },
  "luminance": 0.27768
}

Semantic roles & 50–950 ramp

primary
#9F9127
secondary
#626DC0
accent
#57E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F9127

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

Preview Lab → · Contrast checker → · Palette generator →

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