#4B712A#4B712A

#4B712A is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.4% C 0.109 H 132.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4B712A
RGBrgb(75, 113, 42)
HSLhsl(92, 46%, 30%)
HSVhsv(92, 63%, 44%)
CMYKcmyk(33.6%, 0%, 62.8%, 55.7%)
CIE-LABlab(43.47, -26.55, 34.40)
CIE-LCHlch(43.47, 43.45, 127.66°)
OKLaboklab(50.36% -0.0741 0.0801)
OKLCHoklch(50.36% 0.109 132.8)
XYZxyz(9.2246, 13.4729, 4.3046)
Luminance0.1347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B712A #502A71
analogous
#6E712A #4B712A #2A712D
triadic
#4B712A #2A4B71 #712A4B
tetradic
#4B712A #2A6E71 #502A71 #712D2A
square
#4B712A #2A6E71 #502A71 #712D2A
split-complementary
#4B712A #2D2A71 #712A6E
monochromatic
#101809 #2D4419 #4B712A #699E3B #87C055

Accessibility & contrast

On white

5.68
#4B712A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4B712A
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B712A#FFFFFF#000000##FFFFFF
##4B712A1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766922
Deuteranopia (green-blind)
#70662F
Tritanopia (blue-blind)
#4C6D62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4b712a;
/* rgb */ color: rgb(75, 113, 42);
/* oklch */ color: oklch(50.4% 0.109 132.8);
Tailwind
colors: {
  custom: {
    50: '#809a66',
    500: '#4b712a',
    950: '#000000',
  },
}
SCSS
$custom: #4b712a;
$custom-light: #809a66;
$custom-dark: #000000;
JSON
{
  "hex": "#4b712a",
  "rgb": {
    "r": 75,
    "g": 113,
    "b": 42
  },
  "hsl": {
    "h": 92.113,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50362,
    "c": 0.1091,
    "h": 132.8
  },
  "luminance": 0.13473
}

Semantic roles & 50–950 ramp

primary
#4B712A
secondary
#7E54A3
accent
#52D599
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4B712A

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

Preview Lab → · Contrast checker → · Palette generator →

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