#4A7F13#4A7F13

#4A7F13 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.144 H 133.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4A7F13
RGBrgb(74, 127, 19)
HSLhsl(89, 74%, 29%)
HSVhsv(89, 85%, 50%)
CMYKcmyk(41.7%, 0%, 85%, 50.2%)
CIE-LABlab(47.86, -35.09, 47.86)
CIE-LCHlch(47.86, 59.35, 126.25°)
OKLaboklab(53.88% -0.099 0.105)
OKLCHoklch(53.88% 0.144 133.3)
XYZxyz(10.5308, 16.6811, 3.2809)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7F13 #48137F
analogous
#7F7E13 #4A7F13 #147F13
triadic
#4A7F13 #134A7F #7F134A
tetradic
#4A7F13 #137F7E #48137F #7F1314
square
#4A7F13 #137F7E #48137F #7F1314
split-complementary
#4A7F13 #13147F #7E137F
monochromatic
#101B04 #2B4A0B #4A7F13 #69B41B #88E02D

Accessibility & contrast

On white

4.84
#4A7F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#4A7F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7F13
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7F13#FFFFFF#000000##FFFFFF
##4A7F131.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7020
Tritanopia (blue-blind)
#4A7A6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4a7f13;
/* rgb */ color: rgb(74, 127, 19);
/* oklch */ color: oklch(53.9% 0.144 133.3);
Tailwind
colors: {
  custom: {
    50: '#82a45c',
    500: '#4a7f13',
    950: '#000000',
  },
}
SCSS
$custom: #4a7f13;
$custom-light: #82a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7f13",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 89.444,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53877,
    "c": 0.14433,
    "h": 133.3
  },
  "luminance": 0.16682
}

Semantic roles & 50–950 ramp

primary
#4A7F13
secondary
#7639B4
accent
#37F192
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A7F13

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

Preview Lab → · Contrast checker → · Palette generator →

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