#947D1B#947D1B

#947D1B is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.4% C 0.113 H 94.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#947D1B
RGBrgb(148, 125, 27)
HSLhsl(49, 69%, 34%)
HSVhsv(49, 82%, 58%)
CMYKcmyk(0%, 15.5%, 81.8%, 42%)
CIE-LABlab(53.00, -1.27, 52.15)
CIE-LCHlch(53.00, 52.17, 91.40°)
OKLaboklab(59.44% -0.0095 0.1129)
OKLCHoklch(59.44% 0.113 94.8)
XYZxyz(19.7453, 21.0434, 4.0585)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947D1B #1B3294
analogous
#94411B #947D1B #6F941B
triadic
#947D1B #1B947D #7D1B94
tetradic
#947D1B #1B9441 #1B3294 #941B6F
square
#947D1B #1B9441 #1B3294 #941B6F
split-complementary
#947D1B #1B6F94 #411B94
monochromatic
#2C2608 #605112 #947D1B #C8A924 #DEC24B

Accessibility & contrast

On white

4.03
#947D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#947D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #947D1B
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##947D1B#FFFFFF#000000##000000
##947D1B1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A02
Deuteranopia (green-blind)
#918222
Tritanopia (blue-blind)
#A1726B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #947d1b;
/* rgb */ color: rgb(148, 125, 27);
/* oklch */ color: oklch(59.4% 0.113 94.8);
Tailwind
colors: {
  custom: {
    50: '#b7a261',
    500: '#947d1b',
    950: '#000000',
  },
}
SCSS
$custom: #947d1b;
$custom-light: #b7a261;
$custom-dark: #000000;
JSON
{
  "hex": "#947d1b",
  "rgb": {
    "r": 148,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 48.595,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59443,
    "c": 0.11326,
    "h": 94.8
  },
  "luminance": 0.21042
}

Semantic roles & 50–950 ramp

primary
#947D1B
secondary
#4B61C0
accent
#5DEC3C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F05
muted
#817E7A

Preview Lab

Preview with #947D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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