#4D762B#4D762B

#4D762B is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 51.8% C 0.114 H 133.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4D762B
RGBrgb(77, 118, 43)
HSLhsl(93, 47%, 32%)
HSVhsv(93, 64%, 46%)
CMYKcmyk(34.7%, 0%, 63.6%, 53.7%)
CIE-LABlab(45.23, -28.09, 35.92)
CIE-LCHlch(45.23, 45.60, 128.02°)
OKLaboklab(51.83% -0.0784 0.0834)
OKLCHoklch(51.83% 0.114 133.2)
XYZxyz(9.9749, 14.7087, 4.5985)
Luminance0.1471 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D762B #542B76
analogous
#73762B #4D762B #2B762F
triadic
#4D762B #2B4D76 #762B4D
tetradic
#4D762B #2B7376 #542B76 #762F2B
square
#4D762B #2B7376 #542B76 #762F2B
split-complementary
#4D762B #2F2B76 #762B73
monochromatic
#121C0A #30491B #4D762B #6AA33B #89C259

Accessibility & contrast

On white

5.33
#4D762B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4D762B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D762B
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D762B#FFFFFF#000000##FFFFFF
##4D762B1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D23
Deuteranopia (green-blind)
#756A31
Tritanopia (blue-blind)
#4D7166
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d762b;
/* rgb */ color: rgb(77, 118, 43);
/* oklch */ color: oklch(51.8% 0.114 133.2);
Tailwind
colors: {
  custom: {
    50: '#829e68',
    500: '#4d762b',
    950: '#000000',
  },
}
SCSS
$custom: #4d762b;
$custom-light: #829e68;
$custom-dark: #000000;
JSON
{
  "hex": "#4d762b",
  "rgb": {
    "r": 77,
    "g": 118,
    "b": 43
  },
  "hsl": {
    "h": 92.8,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51832,
    "c": 0.11447,
    "h": 133.2
  },
  "luminance": 0.14709
}

Semantic roles & 50–950 ramp

primary
#4D762B
secondary
#8255A8
accent
#52D69A
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4D762B

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

Preview Lab → · Contrast checker → · Palette generator →

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