#957C1B#957C1B

#957C1B is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.3% C 0.113 H 93.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#957C1B
RGBrgb(149, 124, 27)
HSLhsl(48, 69%, 35%)
HSVhsv(48, 82%, 58%)
CMYKcmyk(0%, 16.8%, 81.9%, 41.6%)
CIE-LABlab(52.82, -0.25, 52.04)
CIE-LCHlch(52.82, 52.04, 90.27°)
OKLaboklab(59.33% -0.0066 0.1126)
OKLCHoklch(59.33% 0.113 93.4)
XYZxyz(19.8011, 20.8852, 4.0250)
Luminance0.2088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#957C1B #1B3495
analogous
#953F1B #957C1B #71951B
triadic
#957C1B #1B957C #7C1B95
tetradic
#957C1B #1B953F #1B3495 #951B71
square
#957C1B #1B953F #1B3495 #951B71
split-complementary
#957C1B #1B7195 #3F1B95
monochromatic
#2D2608 #615112 #957C1B #C9A724 #DFC04C

Accessibility & contrast

On white

4.06
#957C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#957C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #957C1B
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##957C1B#FFFFFF#000000##000000
##957C1B1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A02
Deuteranopia (green-blind)
#918122
Tritanopia (blue-blind)
#A2716A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #957c1b;
/* rgb */ color: rgb(149, 124, 27);
/* oklch */ color: oklch(59.3% 0.113 93.4);
Tailwind
colors: {
  custom: {
    50: '#b8a161',
    500: '#957c1b',
    950: '#000000',
  },
}
SCSS
$custom: #957c1b;
$custom-light: #b8a161;
$custom-dark: #000000;
JSON
{
  "hex": "#957c1b",
  "rgb": {
    "r": 149,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 47.705,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59329,
    "c": 0.11276,
    "h": 93.4
  },
  "luminance": 0.20884
}

Semantic roles & 50–950 ramp

primary
#957C1B
secondary
#4B63C1
accent
#60EC3C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #957C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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