#4A7C1D#4A7C1D

#4A7C1D is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.1% C 0.135 H 133.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4A7C1D
RGBrgb(74, 124, 29)
HSLhsl(92, 62%, 30%)
HSVhsv(92, 77%, 49%)
CMYKcmyk(40.3%, 0%, 76.6%, 51.4%)
CIE-LABlab(46.92, -33.19, 43.69)
CIE-LCHlch(46.92, 54.87, 127.23°)
OKLaboklab(53.13% -0.0932 0.0979)
OKLCHoklch(53.13% 0.135 133.6)
XYZxyz(10.2533, 15.9594, 3.7024)
Luminance0.1596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7C1D #4F1D7C
analogous
#7A7C1D #4A7C1D #1D7C1F
triadic
#4A7C1D #1D4A7C #7C1D4A
tetradic
#4A7C1D #1D7A7C #4F1D7C #7C1F1D
square
#4A7C1D #1D7A7C #4F1D7C #7C1F1D
split-complementary
#4A7C1D #1F1D7C #7C1D7A
monochromatic
#0F1906 #2C4A11 #4A7C1D #68AE29 #86D341

Accessibility & contrast

On white

5.01
#4A7C1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4A7C1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7C1D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7C1D#FFFFFF#000000##FFFFFF
##4A7C1D1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720A
Deuteranopia (green-blind)
#7A6E26
Tritanopia (blue-blind)
#4A776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4a7c1d;
/* rgb */ color: rgb(74, 124, 29);
/* oklch */ color: oklch(53.1% 0.135 133.6);
Tailwind
colors: {
  custom: {
    50: '#81a260',
    500: '#4a7c1d',
    950: '#000000',
  },
}
SCSS
$custom: #4a7c1d;
$custom-light: #81a260;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7c1d",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 91.579,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.53129,
    "c": 0.13515,
    "h": 133.6
  },
  "luminance": 0.1596
}

Semantic roles & 50–950 ramp

primary
#4A7C1D
secondary
#7D45B0
accent
#43E598
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A7C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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