#4A7E13#4A7E13

#4A7E13 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.143 H 133.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4A7E13
RGBrgb(74, 126, 19)
HSLhsl(89, 74%, 28%)
HSVhsv(89, 85%, 49%)
CMYKcmyk(41.3%, 0%, 84.9%, 50.6%)
CIE-LABlab(47.53, -34.65, 47.56)
CIE-LCHlch(47.53, 58.85, 126.08°)
OKLaboklab(53.61% -0.0978 0.1044)
OKLCHoklch(53.61% 0.143 133.1)
XYZxyz(10.4023, 16.4241, 3.2380)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7E13 #47137E
analogous
#7E7C13 #4A7E13 #147E13
triadic
#4A7E13 #134A7E #7E134A
tetradic
#4A7E13 #137E7C #47137E #7E1314
square
#4A7E13 #137E7C #47137E #7E1314
split-complementary
#4A7E13 #13147E #7C137E
monochromatic
#101B04 #2B490B #4A7E13 #69B31B #88DF2C

Accessibility & contrast

On white

4.90
#4A7E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4A7E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7E13
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7E13#FFFFFF#000000##FFFFFF
##4A7E131.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#4A796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4a7e13;
/* rgb */ color: rgb(74, 126, 19);
/* oklch */ color: oklch(53.6% 0.143 133.1);
Tailwind
colors: {
  custom: {
    50: '#82a45c',
    500: '#4a7e13',
    950: '#000000',
  },
}
SCSS
$custom: #4a7e13;
$custom-light: #82a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7e13",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 89.159,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53607,
    "c": 0.14307,
    "h": 133.1
  },
  "luminance": 0.16425
}

Semantic roles & 50–950 ramp

primary
#4A7E13
secondary
#7539B4
accent
#37F091
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #4A7E13

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

Preview Lab → · Contrast checker → · Palette generator →

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