#4B7D1D#4B7D1D

#4B7D1D is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.5% C 0.136 H 133.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4B7D1D
RGBrgb(75, 125, 29)
HSLhsl(91, 62%, 30%)
HSVhsv(91, 77%, 49%)
CMYKcmyk(40%, 0%, 76.8%, 51%)
CIE-LABlab(47.30, -33.27, 44.08)
CIE-LCHlch(47.30, 55.23, 127.04°)
OKLaboklab(53.46% -0.0935 0.0987)
OKLCHoklch(53.46% 0.136 133.5)
XYZxyz(10.4569, 16.2513, 3.7480)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7D1D #4F1D7D
analogous
#7B7D1D #4B7D1D #1D7D1F
triadic
#4B7D1D #1D4B7D #7D1D4B
tetradic
#4B7D1D #1D7B7D #4F1D7D #7D1F1D
square
#4B7D1D #1D7B7D #4F1D7D #7D1F1D
split-complementary
#4B7D1D #1F1D7D #7D1D7B
monochromatic
#0F1A06 #2D4B11 #4B7D1D #69AF29 #87D341

Accessibility & contrast

On white

4.94
#4B7D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#4B7D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7D1D
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7D1D#FFFFFF#000000##FFFFFF
##4B7D1D1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827309
Deuteranopia (green-blind)
#7B6F27
Tritanopia (blue-blind)
#4B786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4b7d1d;
/* rgb */ color: rgb(75, 125, 29);
/* oklch */ color: oklch(53.5% 0.136 133.5);
Tailwind
colors: {
  custom: {
    50: '#82a360',
    500: '#4b7d1d',
    950: '#000000',
  },
}
SCSS
$custom: #4b7d1d;
$custom-light: #82a360;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7d1d",
  "rgb": {
    "r": 75,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 91.25,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53455,
    "c": 0.13593,
    "h": 133.5
  },
  "luminance": 0.16252
}

Semantic roles & 50–950 ramp

primary
#4B7D1D
secondary
#7D45B1
accent
#42E597
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B7D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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