#4A702E#4A702E

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

Color values

HEX#4A702E
RGBrgb(74, 112, 46)
HSLhsl(95, 42%, 31%)
HSVhsv(95, 59%, 44%)
CMYKcmyk(33.9%, 0%, 58.9%, 56.1%)
CIE-LABlab(43.12, -26.01, 31.98)
CIE-LCHlch(43.12, 41.23, 129.13°)
OKLaboklab(50.08% -0.0722 0.0753)
OKLCHoklch(50.08% 0.104 133.8)
XYZxyz(9.1112, 13.2411, 4.6600)
Luminance0.1324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A702E #542E70
analogous
#6B702E #4A702E #2E7033
triadic
#4A702E #2E4A70 #702E4A
tetradic
#4A702E #2E6B70 #542E70 #70332E
square
#4A702E #2E6B70 #542E70 #70332E
split-complementary
#4A702E #332E70 #702E6B
monochromatic
#11190A #2D451C #4A702E #679B40 #85BC5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A702E#FFFFFF#000000##FFFFFF
##4A702E1.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)
#746827
Deuteranopia (green-blind)
#6F6533
Tritanopia (blue-blind)
#4A6C61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a702e;
/* rgb */ color: rgb(74, 112, 46);
/* oklch */ color: oklch(50.1% 0.104 133.8);
Tailwind
colors: {
  custom: {
    50: '#7f9969',
    500: '#4a702e',
    950: '#000000',
  },
}
SCSS
$custom: #4a702e;
$custom-light: #7f9969;
$custom-dark: #000000;
JSON
{
  "hex": "#4a702e",
  "rgb": {
    "r": 74,
    "g": 112,
    "b": 46
  },
  "hsl": {
    "h": 94.545,
    "s": 41.772,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50081,
    "c": 0.10436,
    "h": 133.8
  },
  "luminance": 0.13241
}

Semantic roles & 50–950 ramp

primary
#4A702E
secondary
#8258A1
accent
#56D29D
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4A702E

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

Preview Lab → · Contrast checker → · Palette generator →

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