#957E2F#957E2F

#957E2F is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.9% C 0.101 H 92.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#957E2F
RGBrgb(149, 126, 47)
HSLhsl(46, 52%, 38%)
HSVhsv(46, 68%, 58%)
CMYKcmyk(0%, 15.4%, 68.5%, 41.6%)
CIE-LABlab(53.51, -0.40, 44.73)
CIE-LCHlch(53.51, 44.73, 90.52°)
OKLaboklab(59.92% -0.0048 0.1011)
OKLCHoklch(59.92% 0.101 92.7)
XYZxyz(20.3694, 21.5176, 5.7692)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#957E2F #2F4695
analogous
#954B2F #957E2F #79952F
triadic
#957E2F #2F957E #7E2F95
tetradic
#957E2F #2F954B #2F4695 #952F79
square
#957E2F #2F954B #2F4695 #952F79
split-complementary
#957E2F #2F7995 #4B2F95
monochromatic
#382F12 #665720 #957E2F #C2A53F #D1BB6D

Accessibility & contrast

On white

3.96
#957E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#957E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #957E2F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##957E2F#FFFFFF#000000##000000
##957E2F1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C25
Deuteranopia (green-blind)
#918333
Tritanopia (blue-blind)
#A1746D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #957e2f;
/* rgb */ color: rgb(149, 126, 47);
/* oklch */ color: oklch(59.9% 0.101 92.7);
Tailwind
colors: {
  custom: {
    50: '#b7a36c',
    500: '#957e2f',
    950: '#000000',
  },
}
SCSS
$custom: #957e2f;
$custom-light: #b7a36c;
$custom-dark: #000000;
JSON
{
  "hex": "#957e2f",
  "rgb": {
    "r": 149,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 46.471,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59916,
    "c": 0.10116,
    "h": 92.7
  },
  "luminance": 0.21517
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #957E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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