#4A7B1D#4A7B1D

#4A7B1D is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.9% C 0.134 H 133.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4A7B1D
RGBrgb(74, 123, 29)
HSLhsl(91, 62%, 30%)
HSVhsv(91, 76%, 48%)
CMYKcmyk(39.8%, 0%, 76.4%, 51.8%)
CIE-LABlab(46.59, -32.74, 43.37)
CIE-LCHlch(46.59, 54.34, 127.05°)
OKLaboklab(52.86% -0.092 0.0972)
OKLCHoklch(52.86% 0.134 133.4)
XYZxyz(10.1286, 15.7100, 3.6608)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7B1D #4E1D7B
analogous
#797B1D #4A7B1D #1D7B1F
triadic
#4A7B1D #1D4A7B #7B1D4A
tetradic
#4A7B1D #1D797B #4E1D7B #7B1F1D
square
#4A7B1D #1D797B #4E1D7B #7B1F1D
split-complementary
#4A7B1D #1F1D7B #7B1D79
monochromatic
#0F1906 #2C4911 #4A7B1D #68AD29 #86D240

Accessibility & contrast

On white

5.07
#4A7B1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4A7B1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7B1D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7B1D#FFFFFF#000000##FFFFFF
##4A7B1D1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710A
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#4A7669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4a7b1d;
/* rgb */ color: rgb(74, 123, 29);
/* oklch */ color: oklch(52.9% 0.134 133.4);
Tailwind
colors: {
  custom: {
    50: '#81a160',
    500: '#4a7b1d',
    950: '#000000',
  },
}
SCSS
$custom: #4a7b1d;
$custom-light: #81a160;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7b1d",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 91.277,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5286,
    "c": 0.13383,
    "h": 133.4
  },
  "luminance": 0.1571
}

Semantic roles & 50–950 ramp

primary
#4A7B1D
secondary
#7C45AF
accent
#43E597
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4A7B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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