#4B7C2D#4B7C2D

#4B7C2D is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.3% C 0.123 H 135.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4B7C2D
RGBrgb(75, 124, 45)
HSLhsl(97, 47%, 33%)
HSVhsv(97, 64%, 49%)
CMYKcmyk(39.5%, 0%, 63.7%, 51.4%)
CIE-LABlab(47.11, -31.47, 37.03)
CIE-LCHlch(47.11, 48.59, 130.36°)
OKLaboklab(53.34% -0.0873 0.0861)
OKLCHoklch(53.34% 0.123 135.4)
XYZxyz(10.5827, 16.1001, 5.0321)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7C2D #5E2D7C
analogous
#727C2D #4B7C2D #2D7C36
triadic
#4B7C2D #2D4B7C #7C2D4B
tetradic
#4B7C2D #2D727C #5E2D7C #7C362D
square
#4B7C2D #2D727C #5E2D7C #7C362D
split-complementary
#4B7C2D #362D7C #7C2D72
monochromatic
#15220C #304F1D #4B7C2D #66A93D #85C55F

Accessibility & contrast

On white

4.98
#4B7C2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4B7C2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7C2D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7C2D#FFFFFF#000000##FFFFFF
##4B7C2D1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807224
Deuteranopia (green-blind)
#7A6E33
Tritanopia (blue-blind)
#4A776B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4b7c2d;
/* rgb */ color: rgb(75, 124, 45);
/* oklch */ color: oklch(53.3% 0.123 135.4);
Tailwind
colors: {
  custom: {
    50: '#81a269',
    500: '#4b7c2d',
    950: '#000000',
  },
}
SCSS
$custom: #4b7c2d;
$custom-light: #81a269;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7c2d",
  "rgb": {
    "r": 75,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 97.215,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53336,
    "c": 0.12259,
    "h": 135.4
  },
  "luminance": 0.16101
}

Semantic roles & 50–950 ramp

primary
#4B7C2D
secondary
#8C5AAB
accent
#51D6A4
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4B7C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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