#9F912E#9F912E

#9F912E is a light, moderate yellow. Relative luminance 0.278; OKLCH L 65.1% C 0.118 H 101.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9F912E
RGBrgb(159, 145, 46)
HSLhsl(53, 55%, 40%)
HSVhsv(53, 71%, 62%)
CMYKcmyk(0%, 8.8%, 71.1%, 37.6%)
CIE-LABlab(59.73, -6.40, 51.83)
CIE-LCHlch(59.73, 52.23, 97.04°)
OKLaboklab(65.06% -0.0227 0.1155)
OKLCHoklch(65.06% 0.118 101.1)
XYZxyz(24.9177, 27.8201, 6.6415)
Luminance0.2782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F912E #2E3C9F
analogous
#9F582E #9F912E #759F2E
triadic
#9F912E #2E9F91 #912E9F
tetradic
#9F912E #2E9F58 #2E3C9F #9F2E75
square
#9F912E #2E9F58 #2E3C9F #9F2E75
split-complementary
#9F912E #2E759F #582E9F
monochromatic
#403A13 #706620 #9F912E #C8B842 #D6CA71

Accessibility & contrast

On white

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

On black

6.56
#9F912E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F912E
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F912E#FFFFFF#000000##000000
##9F912E1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D1F
Deuteranopia (green-blind)
#A39234
Tritanopia (blue-blind)
#AB877D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9f912e;
/* rgb */ color: rgb(159, 145, 46);
/* oklch */ color: oklch(65.1% 0.118 101.1);
Tailwind
colors: {
  custom: {
    50: '#bfb06d',
    500: '#9f912e',
    950: '#000000',
  },
}
SCSS
$custom: #9f912e;
$custom-light: #bfb06d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f912e",
  "rgb": {
    "r": 159,
    "g": 145,
    "b": 46
  },
  "hsl": {
    "h": 52.566,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65063,
    "c": 0.11774,
    "h": 101.1
  },
  "luminance": 0.27819
}

Semantic roles & 50–950 ramp

primary
#9F912E
secondary
#6B75BE
accent
#5CDE49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F912E

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

Preview Lab → · Contrast checker → · Palette generator →

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