#4A812E#4A812E

#4A812E is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.6% C 0.129 H 136.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4A812E
RGBrgb(74, 129, 46)
HSLhsl(100, 47%, 34%)
HSVhsv(100, 64%, 51%)
CMYKcmyk(42.6%, 0%, 64.3%, 49.4%)
CIE-LABlab(48.70, -34.00, 38.32)
CIE-LCHlch(48.70, 51.23, 131.58°)
OKLaboklab(54.63% -0.0941 0.0889)
OKLCHoklch(54.63% 0.129 136.6)
XYZxyz(11.1671, 17.3530, 5.3453)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A812E #652E81
analogous
#74812E #4A812E #2E813C
triadic
#4A812E #2E4A81 #812E4A
tetradic
#4A812E #2E7481 #652E81 #813C2E
square
#4A812E #2E7481 #652E81 #813C2E
split-complementary
#4A812E #3C2E81 #812E74
monochromatic
#16270E #30541E #4A812E #64AE3E #84C762

Accessibility & contrast

On white

4.70
#4A812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4A812E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A812E
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A812E#FFFFFF#000000##FFFFFF
##4A812E1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857724
Deuteranopia (green-blind)
#7E7235
Tritanopia (blue-blind)
#487C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4a812e;
/* rgb */ color: rgb(74, 129, 46);
/* oklch */ color: oklch(54.6% 0.129 136.6);
Tailwind
colors: {
  custom: {
    50: '#81a66a',
    500: '#4a812e',
    950: '#000000',
  },
}
SCSS
$custom: #4a812e;
$custom-light: #81a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a812e",
  "rgb": {
    "r": 74,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 99.759,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5463,
    "c": 0.12945,
    "h": 136.6
  },
  "luminance": 0.17354
}

Semantic roles & 50–950 ramp

primary
#4A812E
secondary
#935DAE
accent
#51D7AA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4A812E

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

Preview Lab → · Contrast checker → · Palette generator →

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