#4D702C#4D702C

#4D702C is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.2% C 0.105 H 132.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4D702C
RGBrgb(77, 112, 44)
HSLhsl(91, 44%, 31%)
HSVhsv(91, 61%, 44%)
CMYKcmyk(31.2%, 0%, 60.7%, 56.1%)
CIE-LABlab(43.28, -25.05, 33.23)
CIE-LCHlch(43.28, 41.61, 127.01°)
OKLaboklab(50.25% -0.0699 0.0778)
OKLCHoklch(50.25% 0.105 132)
XYZxyz(9.3092, 13.3477, 4.4683)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D702C #4F2C70
analogous
#6F702C #4D702C #2C702D
triadic
#4D702C #2C4D70 #702C4D
tetradic
#4D702C #2C6F70 #4F2C70 #702D2C
square
#4D702C #2C6F70 #4F2C70 #702D2C
split-complementary
#4D702C #2D2C70 #702C6F
monochromatic
#111809 #2F441B #4D702C #6B9C3D #8ABE59

Accessibility & contrast

On white

5.72
#4D702C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4D702C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D702C
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D702C#FFFFFF#000000##FFFFFF
##4D702C1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756825
Deuteranopia (green-blind)
#706531
Tritanopia (blue-blind)
#4E6C61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d702c;
/* rgb */ color: rgb(77, 112, 44);
/* oklch */ color: oklch(50.2% 0.105 132.0);
Tailwind
colors: {
  custom: {
    50: '#819968',
    500: '#4d702c',
    950: '#000000',
  },
}
SCSS
$custom: #4d702c;
$custom-light: #819968;
$custom-dark: #000000;
JSON
{
  "hex": "#4d702c",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 90.882,
    "s": 43.59,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5025,
    "c": 0.10459,
    "h": 132
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#4D702C
secondary
#7D56A2
accent
#54D396
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4D702C

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

Preview Lab → · Contrast checker → · Palette generator →

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