#47540F#47540F

#47540F is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 42.0% C 0.091 H 120.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#47540F
RGBrgb(71, 84, 15)
HSLhsl(71, 70%, 19%)
HSVhsv(71, 82%, 33%)
CMYKcmyk(15.5%, 0%, 82.1%, 67.1%)
CIE-LABlab(33.38, -15.38, 35.82)
CIE-LCHlch(33.38, 38.99, 113.24°)
OKLaboklab(42.05% -0.0457 0.079)
OKLCHoklch(42.05% 0.091 120)
XYZxyz(5.8552, 7.7148, 1.6325)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47540F #1C0F54
analogous
#543F0F #47540F #25540F
triadic
#47540F #0F4754 #540F47
tetradic
#47540F #0F543F #1C0F54 #540F25
square
#47540F #0F543F #1C0F54 #540F25
split-complementary
#47540F #0F2554 #3F0F54
monochromatic
#161A05 #1B2006 #47540F #738818 #9FBC22

Accessibility & contrast

On white

8.26
#47540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#47540F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47540F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47540F#FFFFFF#000000##FFFFFF
##47540F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F02
Deuteranopia (green-blind)
#584F15
Tritanopia (blue-blind)
#4C4F47
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #47540f;
/* rgb */ color: rgb(71, 84, 15);
/* oklch */ color: oklch(42.0% 0.091 120.0);
Tailwind
colors: {
  custom: {
    50: '#7d8454',
    500: '#47540f',
    950: '#000000',
  },
}
SCSS
$custom: #47540f;
$custom-light: #7d8454;
$custom-dark: #000000;
JSON
{
  "hex": "#47540f",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 71.304,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.42046,
    "c": 0.09126,
    "h": 120
  },
  "luminance": 0.07715
}

Semantic roles & 50–950 ramp

primary
#47540F
secondary
#42318E
accent
#3BED5D
background
#F7F8F5
surface
#EEEFE8
border
#C9CAC4
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #47540F

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

Preview Lab → · Contrast checker → · Palette generator →

#47540F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva