#957F1C#957F1C

#957F1C is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 60.0% C 0.114 H 95.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#957F1C
RGBrgb(149, 127, 28)
HSLhsl(49, 68%, 35%)
HSVhsv(49, 81%, 58%)
CMYKcmyk(0%, 14.8%, 81.2%, 41.6%)
CIE-LABlab(53.66, -1.89, 52.45)
CIE-LCHlch(53.66, 52.48, 92.06°)
OKLaboklab(59.99% -0.0112 0.1137)
OKLCHoklch(59.99% 0.114 95.6)
XYZxyz(20.1945, 21.6533, 4.2142)
Luminance0.2165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#957F1C #1C3295
analogous
#95431C #957F1C #6F951C
triadic
#957F1C #1C957F #7F1C95
tetradic
#957F1C #1C9543 #1C3295 #951C6F
square
#957F1C #1C9543 #1C3295 #951C6F
split-complementary
#957F1C #1C6F95 #431C95
monochromatic
#2E2709 #615312 #957F1C #C9AB26 #DEC44E

Accessibility & contrast

On white

3.94
#957F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#957F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #957F1C
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##957F1C#FFFFFF#000000##000000
##957F1C1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C03
Deuteranopia (green-blind)
#938323
Tritanopia (blue-blind)
#A2746D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #957f1c;
/* rgb */ color: rgb(149, 127, 28);
/* oklch */ color: oklch(60.0% 0.114 95.6);
Tailwind
colors: {
  custom: {
    50: '#b8a362',
    500: '#957f1c',
    950: '#000000',
  },
}
SCSS
$custom: #957f1c;
$custom-light: #b8a362;
$custom-dark: #000000;
JSON
{
  "hex": "#957f1c",
  "rgb": {
    "r": 149,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 49.091,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5999,
    "c": 0.11421,
    "h": 95.6
  },
  "luminance": 0.21652
}

Semantic roles & 50–950 ramp

primary
#957F1C
secondary
#4D62C0
accent
#5CEB3D
background
#FBFAF6
surface
#F7F3EB
border
#D0CDC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #957F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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