#957A1B#957A1B

#957A1B is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.9% C 0.112 H 91.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#957A1B
RGBrgb(149, 122, 27)
HSLhsl(47, 69%, 35%)
HSVhsv(47, 82%, 58%)
CMYKcmyk(0%, 18.1%, 81.9%, 41.6%)
CIE-LABlab(52.27, 0.88, 51.55)
CIE-LCHlch(52.27, 51.56, 89.02°)
OKLaboklab(58.9% -0.0034 0.1115)
OKLCHoklch(58.9% 0.112 91.8)
XYZxyz(19.5530, 20.3890, 3.9423)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#957A1B #1B3695
analogous
#953D1B #957A1B #73951B
triadic
#957A1B #1B957A #7A1B95
tetradic
#957A1B #1B953D #1B3695 #951B73
square
#957A1B #1B953D #1B3695 #951B73
split-complementary
#957A1B #1B7395 #3D1B95
monochromatic
#2D2508 #615012 #957A1B #C9A424 #DFBE4C

Accessibility & contrast

On white

4.14
#957A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#957A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #957A1B
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##957A1B#FFFFFF#000000##000000
##957A1B1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897803
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#A26F68
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #957a1b;
/* rgb */ color: rgb(149, 122, 27);
/* oklch */ color: oklch(58.9% 0.112 91.8);
Tailwind
colors: {
  custom: {
    50: '#b8a061',
    500: '#957a1b',
    950: '#000000',
  },
}
SCSS
$custom: #957a1b;
$custom-light: #b8a061;
$custom-dark: #000000;
JSON
{
  "hex": "#957a1b",
  "rgb": {
    "r": 149,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 46.721,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58896,
    "c": 0.11156,
    "h": 91.8
  },
  "luminance": 0.20388
}

Semantic roles & 50–950 ramp

primary
#957A1B
secondary
#4B65C1
accent
#63EC3C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #957A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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