#957E1B#957E1B

#957E1B is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.8% C 0.114 H 94.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#957E1B
RGBrgb(149, 126, 27)
HSLhsl(49, 69%, 35%)
HSVhsv(49, 82%, 58%)
CMYKcmyk(0%, 15.4%, 81.9%, 41.6%)
CIE-LABlab(53.38, -1.37, 52.53)
CIE-LCHlch(53.38, 52.54, 91.49°)
OKLaboklab(59.77% -0.0098 0.1136)
OKLCHoklch(59.77% 0.114 94.9)
XYZxyz(20.0542, 21.3916, 4.1094)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#957E1B #1B3295
analogous
#95411B #957E1B #6F951B
triadic
#957E1B #1B957E #7E1B95
tetradic
#957E1B #1B9541 #1B3295 #951B6F
square
#957E1B #1B9541 #1B3295 #951B6F
split-complementary
#957E1B #1B6F95 #411B95
monochromatic
#2D2608 #615212 #957E1B #C9AA24 #DFC34C

Accessibility & contrast

On white

3.98
#957E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#957E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #957E1B
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##957E1B#FFFFFF#000000##000000
##957E1B1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B01
Deuteranopia (green-blind)
#928222
Tritanopia (blue-blind)
#A2736C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #957e1b;
/* rgb */ color: rgb(149, 126, 27);
/* oklch */ color: oklch(59.8% 0.114 94.9);
Tailwind
colors: {
  custom: {
    50: '#b8a361',
    500: '#957e1b',
    950: '#000000',
  },
}
SCSS
$custom: #957e1b;
$custom-light: #b8a361;
$custom-dark: #000000;
JSON
{
  "hex": "#957e1b",
  "rgb": {
    "r": 149,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 48.689,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59765,
    "c": 0.11404,
    "h": 94.9
  },
  "luminance": 0.2139
}

Semantic roles & 50–950 ramp

primary
#957E1B
secondary
#4B61C1
accent
#5DEC3C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F05
muted
#817E7A

Preview Lab

Preview with #957E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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