#4B7D2D#4B7D2D

#4B7D2D is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.124 H 135.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4B7D2D
RGBrgb(75, 125, 45)
HSLhsl(98, 47%, 33%)
HSVhsv(98, 64%, 49%)
CMYKcmyk(40%, 0%, 64%, 51%)
CIE-LABlab(47.43, -31.93, 37.40)
CIE-LCHlch(47.43, 49.17, 130.49°)
OKLaboklab(53.6% -0.0886 0.0868)
OKLCHoklch(53.6% 0.124 135.6)
XYZxyz(10.7087, 16.3520, 5.0741)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7D2D #5F2D7D
analogous
#737D2D #4B7D2D #2D7D37
triadic
#4B7D2D #2D4B7D #7D2D4B
tetradic
#4B7D2D #2D737D #5F2D7D #7D372D
square
#4B7D2D #2D737D #5F2D7D #7D372D
split-complementary
#4B7D2D #372D7D #7D2D73
monochromatic
#15230D #30501D #4B7D2D #66AA3D #85C55F

Accessibility & contrast

On white

4.92
#4B7D2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#4B7D2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7D2D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7D2D#FFFFFF#000000##FFFFFF
##4B7D2D1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817324
Deuteranopia (green-blind)
#7B6F33
Tritanopia (blue-blind)
#4A786C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4b7d2d;
/* rgb */ color: rgb(75, 125, 45);
/* oklch */ color: oklch(53.6% 0.124 135.6);
Tailwind
colors: {
  custom: {
    50: '#81a369',
    500: '#4b7d2d',
    950: '#000000',
  },
}
SCSS
$custom: #4b7d2d;
$custom-light: #81a369;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7d2d",
  "rgb": {
    "r": 75,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 97.5,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53604,
    "c": 0.12403,
    "h": 135.6
  },
  "luminance": 0.16353
}

Semantic roles & 50–950 ramp

primary
#4B7D2D
secondary
#8D5AAC
accent
#51D7A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4B7D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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