#947C1B#947C1B

#947C1B is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.2% C 0.113 H 94.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#947C1B
RGBrgb(148, 124, 27)
HSLhsl(48, 69%, 34%)
HSVhsv(48, 82%, 58%)
CMYKcmyk(0%, 16.2%, 81.8%, 42%)
CIE-LABlab(52.72, -0.71, 51.91)
CIE-LCHlch(52.72, 51.91, 90.79°)
OKLaboklab(59.22% -0.0079 0.1123)
OKLCHoklch(59.22% 0.113 94)
XYZxyz(19.6193, 20.7915, 4.0165)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947C1B #1B3394
analogous
#94401B #947C1B #70941B
triadic
#947C1B #1B947C #7C1B94
tetradic
#947C1B #1B9440 #1B3394 #941B70
square
#947C1B #1B9440 #1B3394 #941B70
split-complementary
#947C1B #1B7094 #401B94
monochromatic
#2C2508 #605112 #947C1B #C8A724 #DEC14B

Accessibility & contrast

On white

4.07
#947C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#947C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #947C1B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##947C1B#FFFFFF#000000##000000
##947C1B1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #947c1b;
/* rgb */ color: rgb(148, 124, 27);
/* oklch */ color: oklch(59.2% 0.113 94.0);
Tailwind
colors: {
  custom: {
    50: '#b7a161',
    500: '#947c1b',
    950: '#000000',
  },
}
SCSS
$custom: #947c1b;
$custom-light: #b7a161;
$custom-dark: #000000;
JSON
{
  "hex": "#947c1b",
  "rgb": {
    "r": 148,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 48.099,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59224,
    "c": 0.11261,
    "h": 94
  },
  "luminance": 0.2079
}

Semantic roles & 50–950 ramp

primary
#947C1B
secondary
#4B62C0
accent
#5FEC3C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #947C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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