#4B772A#4B772A

#4B772A is a mid, moderate yellow-green. Relative luminance 0.149; OKLCH L 52.0% C 0.118 H 134.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4B772A
RGBrgb(75, 119, 42)
HSLhsl(94, 48%, 32%)
HSVhsv(94, 65%, 47%)
CMYKcmyk(37%, 0%, 64.7%, 53.3%)
CIE-LABlab(45.44, -29.43, 36.60)
CIE-LCHlch(45.44, 46.96, 128.81°)
OKLaboklab(51.97% -0.082 0.0848)
OKLCHoklch(51.97% 0.118 134)
XYZxyz(9.9162, 14.8562, 4.5351)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B772A #562A77
analogous
#72772A #4B772A #2A7730
triadic
#4B772A #2A4B77 #772A4B
tetradic
#4B772A #2A7277 #562A77 #77302A
square
#4B772A #2A7277 #562A77 #77302A
split-complementary
#4B772A #302A77 #772A72
monochromatic
#121D0A #2E4A1A #4B772A #68A43A #86C458

Accessibility & contrast

On white

5.29
#4B772A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4B772A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B772A
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B772A#FFFFFF#000000##FFFFFF
##4B772A1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E21
Deuteranopia (green-blind)
#756A30
Tritanopia (blue-blind)
#4B7267
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4b772a;
/* rgb */ color: rgb(75, 119, 42);
/* oklch */ color: oklch(52.0% 0.118 134.0);
Tailwind
colors: {
  custom: {
    50: '#819e67',
    500: '#4b772a',
    950: '#000000',
  },
}
SCSS
$custom: #4b772a;
$custom-light: #819e67;
$custom-dark: #000000;
JSON
{
  "hex": "#4b772a",
  "rgb": {
    "r": 75,
    "g": 119,
    "b": 42
  },
  "hsl": {
    "h": 94.286,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51965,
    "c": 0.11794,
    "h": 134
  },
  "luminance": 0.14857
}

Semantic roles & 50–950 ramp

primary
#4B772A
secondary
#8454A9
accent
#50D79E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4B772A

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

Preview Lab → · Contrast checker → · Palette generator →

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