#947E1B#947E1B

#947E1B is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.7% C 0.114 H 95.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#947E1B
RGBrgb(148, 126, 27)
HSLhsl(49, 69%, 34%)
HSVhsv(49, 82%, 58%)
CMYKcmyk(0%, 14.9%, 81.8%, 42%)
CIE-LABlab(53.27, -1.83, 52.40)
CIE-LCHlch(53.27, 52.43, 92.00°)
OKLaboklab(59.66% -0.0111 0.1134)
OKLCHoklch(59.66% 0.114 95.6)
XYZxyz(19.8725, 21.2979, 4.1009)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947E1B #1B3194
analogous
#94421B #947E1B #6E941B
triadic
#947E1B #1B947E #7E1B94
tetradic
#947E1B #1B9442 #1B3194 #941B6E
square
#947E1B #1B9442 #1B3194 #941B6E
split-complementary
#947E1B #1B6E94 #421B94
monochromatic
#2C2608 #605212 #947E1B #C8AA24 #DEC34B

Accessibility & contrast

On white

3.99
#947E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#947E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #947E1B
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##947E1B#FFFFFF#000000##000000
##947E1B1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B01
Deuteranopia (green-blind)
#928222
Tritanopia (blue-blind)
#A0736C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #947e1b;
/* rgb */ color: rgb(148, 126, 27);
/* oklch */ color: oklch(59.7% 0.114 95.6);
Tailwind
colors: {
  custom: {
    50: '#b7a361',
    500: '#947e1b',
    950: '#000000',
  },
}
SCSS
$custom: #947e1b;
$custom-light: #b7a361;
$custom-dark: #000000;
JSON
{
  "hex": "#947e1b",
  "rgb": {
    "r": 148,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 49.091,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59662,
    "c": 0.11394,
    "h": 95.6
  },
  "luminance": 0.21297
}

Semantic roles & 50–950 ramp

primary
#947E1B
secondary
#4B60C0
accent
#5CEC3C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F05
muted
#817E7A

Preview Lab

Preview with #947E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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