#4A7D1B#4A7D1B

#4A7D1B is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.138 H 133.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4A7D1B
RGBrgb(74, 125, 27)
HSLhsl(91, 64%, 30%)
HSVhsv(91, 78%, 49%)
CMYKcmyk(40.8%, 0%, 78.4%, 51%)
CIE-LABlab(47.24, -33.77, 44.73)
CIE-LCHlch(47.24, 56.05, 127.05°)
OKLaboklab(53.38% -0.0949 0.0997)
OKLCHoklch(53.38% 0.138 133.6)
XYZxyz(10.3553, 16.2017, 3.6183)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7D1B #4E1B7D
analogous
#7B7D1B #4A7D1B #1B7D1D
triadic
#4A7D1B #1B4A7D #7D1B4A
tetradic
#4A7D1B #1B7B7D #4E1B7D #7D1D1B
square
#4A7D1B #1B7B7D #4E1B7D #7D1D1B
split-complementary
#4A7D1B #1D1B7D #7D1B7B
monochromatic
#0F1905 #2C4B10 #4A7D1B #68AF26 #86D53D

Accessibility & contrast

On white

4.95
#4A7D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4A7D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7D1B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7D1B#FFFFFF#000000##FFFFFF
##4A7D1B1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827305
Deuteranopia (green-blind)
#7B6F25
Tritanopia (blue-blind)
#4A786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4a7d1b;
/* rgb */ color: rgb(74, 125, 27);
/* oklch */ color: oklch(53.4% 0.138 133.6);
Tailwind
colors: {
  custom: {
    50: '#81a35f',
    500: '#4a7d1b',
    950: '#000000',
  },
}
SCSS
$custom: #4a7d1b;
$custom-light: #81a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7d1b",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 91.224,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53384,
    "c": 0.13768,
    "h": 133.6
  },
  "luminance": 0.16202
}

Semantic roles & 50–950 ramp

primary
#4A7D1B
secondary
#7C43B1
accent
#40E797
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A7D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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