#9F9237#9F9237

#9F9237 is a light, moderate yellow. Relative luminance 0.282; OKLCH L 65.4% C 0.112 H 101.2°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9F9237
RGBrgb(159, 146, 55)
HSLhsl(53, 49%, 42%)
HSVhsv(53, 65%, 62%)
CMYKcmyk(0%, 8.2%, 65.4%, 37.6%)
CIE-LABlab(60.07, -6.41, 48.36)
CIE-LCHlch(60.07, 48.78, 97.55°)
OKLaboklab(65.36% -0.0216 0.1097)
OKLCHoklch(65.36% 0.112 101.2)
XYZxyz(25.2676, 28.2056, 7.7270)
Luminance0.2821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9237 #37449F
analogous
#9F5E37 #9F9237 #789F37
triadic
#9F9237 #379F92 #92379F
tetradic
#9F9237 #379F5E #37449F #9F3778
square
#9F9237 #379F5E #37449F #9F3778
split-complementary
#9F9237 #37789F #5E379F
monochromatic
#443E18 #726827 #9F9237 #C3B451 #D2C87E

Accessibility & contrast

On white

3.16
#9F9237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#9F9237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9237
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9237#FFFFFF#000000##000000
##9F92371.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E2C
Deuteranopia (green-blind)
#A3933C
Tritanopia (blue-blind)
#AB887F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9f9237;
/* rgb */ color: rgb(159, 146, 55);
/* oklch */ color: oklch(65.4% 0.112 101.2);
Tailwind
colors: {
  custom: {
    50: '#beb172',
    500: '#9f9237',
    950: '#000000',
  },
}
SCSS
$custom: #9f9237;
$custom-light: #beb172;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9237",
  "rgb": {
    "r": 159,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 52.5,
    "s": 48.598,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65362,
    "c": 0.11186,
    "h": 101.2
  },
  "luminance": 0.28205
}

Semantic roles & 50–950 ramp

primary
#9F9237
secondary
#767FBC
accent
#61D850
background
#FCFAF7
surface
#F8F5ED
border
#D1CFC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9F9237

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

Preview Lab → · Contrast checker → · Palette generator →

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