#947E2D#947E2D

#947E2D is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.8% C 0.103 H 93.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#947E2D
RGBrgb(148, 126, 45)
HSLhsl(47, 53%, 38%)
HSVhsv(47, 70%, 58%)
CMYKcmyk(0%, 14.9%, 69.6%, 42%)
CIE-LABlab(53.39, -0.98, 45.48)
CIE-LCHlch(53.39, 45.49, 91.24°)
OKLaboklab(59.79% -0.0066 0.1023)
OKLCHoklch(59.79% 0.103 93.7)
XYZxyz(20.1483, 21.4082, 5.5530)
Luminance0.2141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947E2D #2D4394
analogous
#944A2D #947E2D #77942D
triadic
#947E2D #2D947E #7E2D94
tetradic
#947E2D #2D944A #2D4394 #942D77
square
#947E2D #2D944A #2D4394 #942D77
split-complementary
#947E2D #2D7794 #4A2D94
monochromatic
#362E10 #65561F #947E2D #C3A63B #D2BB6A

Accessibility & contrast

On white

3.98
#947E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#947E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #947E2D
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##947E2D#FFFFFF#000000##000000
##947E2D1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C23
Deuteranopia (green-blind)
#918231
Tritanopia (blue-blind)
#A0746D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #947e2d;
/* rgb */ color: rgb(148, 126, 45);
/* oklch */ color: oklch(59.8% 0.103 93.7);
Tailwind
colors: {
  custom: {
    50: '#b7a36a',
    500: '#947e2d',
    950: '#000000',
  },
}
SCSS
$custom: #947e2d;
$custom-light: #b7a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#947e2d",
  "rgb": {
    "r": 148,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 47.184,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59794,
    "c": 0.10253,
    "h": 93.7
  },
  "luminance": 0.21407
}

Semantic roles & 50–950 ramp

primary
#947E2D
secondary
#6476B8
accent
#6ADD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F07
muted
#817E7A

Preview Lab

Preview with #947E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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