#957D1B#957D1B

#957D1B is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.5% C 0.113 H 94.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#957D1B
RGBrgb(149, 125, 27)
HSLhsl(48, 69%, 35%)
HSVhsv(48, 82%, 58%)
CMYKcmyk(0%, 16.1%, 81.9%, 41.6%)
CIE-LABlab(53.10, -0.81, 52.28)
CIE-LCHlch(53.10, 52.29, 90.89°)
OKLaboklab(59.55% -0.0082 0.1131)
OKLCHoklch(59.55% 0.113 94.2)
XYZxyz(19.9270, 21.1371, 4.0670)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#957D1B #1B3395
analogous
#95401B #957D1B #70951B
triadic
#957D1B #1B957D #7D1B95
tetradic
#957D1B #1B9540 #1B3395 #951B70
square
#957D1B #1B9540 #1B3395 #951B70
split-complementary
#957D1B #1B7095 #401B95
monochromatic
#2D2608 #615212 #957D1B #C9A824 #DFC24C

Accessibility & contrast

On white

4.02
#957D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#957D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #957D1B
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##957D1B#FFFFFF#000000##000000
##957D1B1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B02
Deuteranopia (green-blind)
#918222
Tritanopia (blue-blind)
#A2726B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #957d1b;
/* rgb */ color: rgb(149, 125, 27);
/* oklch */ color: oklch(59.5% 0.113 94.2);
Tailwind
colors: {
  custom: {
    50: '#b8a261',
    500: '#957d1b',
    950: '#000000',
  },
}
SCSS
$custom: #957d1b;
$custom-light: #b8a261;
$custom-dark: #000000;
JSON
{
  "hex": "#957d1b",
  "rgb": {
    "r": 149,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 48.197,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59547,
    "c": 0.11339,
    "h": 94.2
  },
  "luminance": 0.21136
}

Semantic roles & 50–950 ramp

primary
#957D1B
secondary
#4B62C1
accent
#5EEC3C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F05
muted
#817E7A

Preview Lab

Preview with #957D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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