#4A712D#4A712D

#4A712D is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.3% C 0.107 H 133.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4A712D
RGBrgb(74, 113, 45)
HSLhsl(94, 43%, 31%)
HSVhsv(94, 60%, 44%)
CMYKcmyk(34.5%, 0%, 60.2%, 55.7%)
CIE-LABlab(43.44, -26.62, 32.86)
CIE-LCHlch(43.44, 42.29, 129.01°)
OKLaboklab(50.33% -0.074 0.0771)
OKLCHoklch(50.33% 0.107 133.8)
XYZxyz(9.2026, 13.4552, 4.5944)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A712D #542D71
analogous
#6C712D #4A712D #2D7132
triadic
#4A712D #2D4A71 #712D4A
tetradic
#4A712D #2D6C71 #542D71 #71322D
square
#4A712D #2D6C71 #542D71 #71322D
split-complementary
#4A712D #322D71 #712D6C
monochromatic
#11190A #2D451C #4A712D #679D3E #85BE5B

Accessibility & contrast

On white

5.69
#4A712D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4A712D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A712D
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A712D#FFFFFF#000000##FFFFFF
##4A712D1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756926
Deuteranopia (green-blind)
#706532
Tritanopia (blue-blind)
#4A6D62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4a712d;
/* rgb */ color: rgb(74, 113, 45);
/* oklch */ color: oklch(50.3% 0.107 133.8);
Tailwind
colors: {
  custom: {
    50: '#7f9a68',
    500: '#4a712d',
    950: '#000000',
  },
}
SCSS
$custom: #4a712d;
$custom-light: #7f9a68;
$custom-dark: #000000;
JSON
{
  "hex": "#4a712d",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 94.412,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50335,
    "c": 0.10686,
    "h": 133.8
  },
  "luminance": 0.13456
}

Semantic roles & 50–950 ramp

primary
#4A712D
secondary
#8257A3
accent
#55D39D
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4A712D

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

Preview Lab → · Contrast checker → · Palette generator →

#4A712D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva