#957B1B#957B1B

#957B1B is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 59.1% C 0.112 H 92.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#957B1B
RGBrgb(149, 123, 27)
HSLhsl(47, 69%, 35%)
HSVhsv(47, 82%, 58%)
CMYKcmyk(0%, 17.4%, 81.9%, 41.6%)
CIE-LABlab(52.55, 0.31, 51.79)
CIE-LCHlch(52.55, 51.79, 89.65°)
OKLaboklab(59.11% -0.005 0.112)
OKLCHoklch(59.11% 0.112 92.6)
XYZxyz(19.6764, 20.6358, 3.9834)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#957B1B #1B3595
analogous
#953E1B #957B1B #72951B
triadic
#957B1B #1B957B #7B1B95
tetradic
#957B1B #1B953E #1B3595 #951B72
square
#957B1B #1B953E #1B3595 #951B72
split-complementary
#957B1B #1B7295 #3E1B95
monochromatic
#2D2508 #615012 #957B1B #C9A624 #DFBF4C

Accessibility & contrast

On white

4.10
#957B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#957B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #957B1B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##957B1B#FFFFFF#000000##000000
##957B1B1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897903
Deuteranopia (green-blind)
#908121
Tritanopia (blue-blind)
#A27069
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #957b1b;
/* rgb */ color: rgb(149, 123, 27);
/* oklch */ color: oklch(59.1% 0.112 92.6);
Tailwind
colors: {
  custom: {
    50: '#b8a061',
    500: '#957b1b',
    950: '#000000',
  },
}
SCSS
$custom: #957b1b;
$custom-light: #b8a061;
$custom-dark: #000000;
JSON
{
  "hex": "#957b1b",
  "rgb": {
    "r": 149,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 47.213,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59112,
    "c": 0.11215,
    "h": 92.6
  },
  "luminance": 0.20635
}

Semantic roles & 50–950 ramp

primary
#957B1B
secondary
#4B64C1
accent
#61EC3C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #957B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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