#4A702D#4A702D

#4A702D is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.1% C 0.105 H 133.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4A702D
RGBrgb(74, 112, 45)
HSLhsl(94, 43%, 31%)
HSVhsv(94, 60%, 44%)
CMYKcmyk(33.9%, 0%, 59.8%, 56.1%)
CIE-LABlab(43.11, -26.13, 32.48)
CIE-LCHlch(43.11, 41.68, 128.82°)
OKLaboklab(50.07% -0.0726 0.0763)
OKLCHoklch(50.07% 0.105 133.6)
XYZxyz(9.0917, 13.2333, 4.5574)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A702D #532D70
analogous
#6B702D #4A702D #2D7031
triadic
#4A702D #2D4A70 #702D4A
tetradic
#4A702D #2D6B70 #532D70 #70312D
square
#4A702D #2D6B70 #532D70 #70312D
split-complementary
#4A702D #312D70 #702D6B
monochromatic
#10190A #2D441B #4A702D #679C3F #85BD5A

Accessibility & contrast

On white

5.76
#4A702D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4A702D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A702D
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A702D#FFFFFF#000000##FFFFFF
##4A702D1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746826
Deuteranopia (green-blind)
#6F6532
Tritanopia (blue-blind)
#4A6C61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a702d;
/* rgb */ color: rgb(74, 112, 45);
/* oklch */ color: oklch(50.1% 0.105 133.6);
Tailwind
colors: {
  custom: {
    50: '#7f9968',
    500: '#4a702d',
    950: '#000000',
  },
}
SCSS
$custom: #4a702d;
$custom-light: #7f9968;
$custom-dark: #000000;
JSON
{
  "hex": "#4a702d",
  "rgb": {
    "r": 74,
    "g": 112,
    "b": 45
  },
  "hsl": {
    "h": 94.03,
    "s": 42.675,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50068,
    "c": 0.10534,
    "h": 133.6
  },
  "luminance": 0.13234
}

Semantic roles & 50–950 ramp

primary
#4A702D
secondary
#8157A2
accent
#55D29C
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4A702D

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

Preview Lab → · Contrast checker → · Palette generator →

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