#947E1D#947E1D

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

Color values

HEX#947E1D
RGBrgb(148, 126, 29)
HSLhsl(49, 67%, 35%)
HSVhsv(49, 80%, 58%)
CMYKcmyk(0%, 14.9%, 80.4%, 42%)
CIE-LABlab(53.28, -1.76, 51.74)
CIE-LCHlch(53.28, 51.77, 91.95°)
OKLaboklab(59.67% -0.0107 0.1124)
OKLCHoklch(59.67% 0.113 95.4)
XYZxyz(19.8965, 21.3074, 4.2269)
Luminance0.2131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947E1D #1D3394
analogous
#94431D #947E1D #6E941D
triadic
#947E1D #1D947E #7E1D94
tetradic
#947E1D #1D9443 #1D3394 #941D6E
square
#947E1D #1D9443 #1D3394 #941D6E
split-complementary
#947E1D #1D6E94 #431D94
monochromatic
#2E2709 #615213 #947E1D #C7AA27 #DCC24F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##947E1D#FFFFFF#000000##000000
##947E1D1.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)
#8C7B06
Deuteranopia (green-blind)
#928224
Tritanopia (blue-blind)
#A0736C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #947e1d;
/* rgb */ color: rgb(148, 126, 29);
/* oklch */ color: oklch(59.7% 0.113 95.4);
Tailwind
colors: {
  custom: {
    50: '#b7a362',
    500: '#947e1d',
    950: '#000000',
  },
}
SCSS
$custom: #947e1d;
$custom-light: #b7a362;
$custom-dark: #000000;
JSON
{
  "hex": "#947e1d",
  "rgb": {
    "r": 148,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 48.908,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59673,
    "c": 0.11291,
    "h": 95.4
  },
  "luminance": 0.21306
}

Semantic roles & 50–950 ramp

primary
#947E1D
secondary
#4E63BF
accent
#5EEA3E
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F05
muted
#817E7A

Preview Lab

Preview with #947E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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