#957D2F#957D2F

#957D2F is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.7% C 0.100 H 91.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#957D2F
RGBrgb(149, 125, 47)
HSLhsl(46, 52%, 38%)
HSVhsv(46, 68%, 58%)
CMYKcmyk(0%, 16.1%, 68.5%, 41.6%)
CIE-LABlab(53.24, 0.16, 44.44)
CIE-LCHlch(53.24, 44.44, 89.80°)
OKLaboklab(59.7% -0.0032 0.1004)
OKLCHoklch(59.7% 0.1 91.8)
XYZxyz(20.2422, 21.2632, 5.7268)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#957D2F #2F4795
analogous
#954A2F #957D2F #7A952F
triadic
#957D2F #2F957D #7D2F95
tetradic
#957D2F #2F954A #2F4795 #952F7A
square
#957D2F #2F954A #2F4795 #952F7A
split-complementary
#957D2F #2F7A95 #4A2F95
monochromatic
#382F12 #665620 #957D2F #C2A33F #D1BA6D

Accessibility & contrast

On white

4.00
#957D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#957D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #957D2F
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##957D2F#FFFFFF#000000##000000
##957D2F1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B25
Deuteranopia (green-blind)
#908233
Tritanopia (blue-blind)
#A1736D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #957d2f;
/* rgb */ color: rgb(149, 125, 47);
/* oklch */ color: oklch(59.7% 0.100 91.8);
Tailwind
colors: {
  custom: {
    50: '#b7a26c',
    500: '#957d2f',
    950: '#000000',
  },
}
SCSS
$custom: #957d2f;
$custom-light: #b7a26c;
$custom-dark: #000000;
JSON
{
  "hex": "#957d2f",
  "rgb": {
    "r": 149,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 45.882,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59699,
    "c": 0.10048,
    "h": 91.8
  },
  "luminance": 0.21262
}

Semantic roles & 50–950 ramp

primary
#957D2F
secondary
#677AB8
accent
#6EDB4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F07
muted
#817E7A

Preview Lab

Preview with #957D2F

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

Preview Lab → · Contrast checker → · Palette generator →

#957D2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva