#937F2F#937F2F

#937F2F is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.9% C 0.102 H 95.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#937F2F
RGBrgb(147, 127, 47)
HSLhsl(48, 52%, 38%)
HSVhsv(48, 68%, 58%)
CMYKcmyk(0%, 13.6%, 68%, 42.4%)
CIE-LABlab(53.59, -1.88, 44.75)
CIE-LCHlch(53.59, 44.79, 92.40°)
OKLaboklab(59.93% -0.0089 0.1012)
OKLCHoklch(59.93% 0.102 95)
XYZxyz(20.1360, 21.5881, 5.7951)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#937F2F #2F4393
analogous
#934D2F #937F2F #75932F
triadic
#937F2F #2F937F #7F2F93
tetradic
#937F2F #2F934D #2F4393 #932F75
square
#937F2F #2F934D #2F4393 #932F75
split-complementary
#937F2F #2F7593 #4D2F93
monochromatic
#362F11 #655720 #937F2F #C1A73E #D0BC6C

Accessibility & contrast

On white

3.95
#937F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#937F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #937F2F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##937F2F#FFFFFF#000000##000000
##937F2F1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C25
Deuteranopia (green-blind)
#918333
Tritanopia (blue-blind)
#9F756E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #937f2f;
/* rgb */ color: rgb(147, 127, 47);
/* oklch */ color: oklch(59.9% 0.102 95.0);
Tailwind
colors: {
  custom: {
    50: '#b6a36c',
    500: '#937f2f',
    950: '#000000',
  },
}
SCSS
$custom: #937f2f;
$custom-light: #b6a36c;
$custom-dark: #000000;
JSON
{
  "hex": "#937f2f",
  "rgb": {
    "r": 147,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 48,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59929,
    "c": 0.10154,
    "h": 95
  },
  "luminance": 0.21587
}

Semantic roles & 50–950 ramp

primary
#937F2F
secondary
#6677B7
accent
#69DB4D
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #937F2F

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

Preview Lab → · Contrast checker → · Palette generator →

#937F2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva