#4D702B#4D702B

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

Color values

HEX#4D702B
RGBrgb(77, 112, 43)
HSLhsl(90, 45%, 30%)
HSVhsv(90, 62%, 44%)
CMYKcmyk(31.2%, 0%, 61.6%, 56.1%)
CIE-LABlab(43.27, -25.16, 33.71)
CIE-LCHlch(43.27, 42.06, 126.73°)
OKLaboklab(50.24% -0.0703 0.0787)
OKLCHoklch(50.24% 0.106 131.8)
XYZxyz(9.2907, 13.3402, 4.3705)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D702B #4E2B70
analogous
#6F702B #4D702B #2B702C
triadic
#4D702B #2B4D70 #702B4D
tetradic
#4D702B #2B6F70 #4E2B70 #702C2B
square
#4D702B #2B6F70 #4E2B70 #702C2B
split-complementary
#4D702B #2C2B70 #702B6F
monochromatic
#101809 #2F441A #4D702B #6B9C3C #8ABE57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D702B#FFFFFF#000000##FFFFFF
##4D702B1.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)
#756824
Deuteranopia (green-blind)
#706530
Tritanopia (blue-blind)
#4E6C61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d702b;
/* rgb */ color: rgb(77, 112, 43);
/* oklch */ color: oklch(50.2% 0.106 131.8);
Tailwind
colors: {
  custom: {
    50: '#819967',
    500: '#4d702b',
    950: '#000000',
  },
}
SCSS
$custom: #4d702b;
$custom-light: #819967;
$custom-dark: #000000;
JSON
{
  "hex": "#4d702b",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 90.435,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50238,
    "c": 0.10554,
    "h": 131.8
  },
  "luminance": 0.13341
}

Semantic roles & 50–950 ramp

primary
#4D702B
secondary
#7C55A2
accent
#54D495
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4D702B

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

Preview Lab → · Contrast checker → · Palette generator →

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