#4B7C2C#4B7C2C

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

Color values

HEX#4B7C2C
RGBrgb(75, 124, 44)
HSLhsl(97, 48%, 33%)
HSVhsv(97, 65%, 49%)
CMYKcmyk(39.5%, 0%, 64.5%, 51.4%)
CIE-LABlab(47.10, -31.57, 37.49)
CIE-LCHlch(47.10, 49.01, 130.10°)
OKLaboklab(53.33% -0.0877 0.0869)
OKLCHoklch(53.33% 0.123 135.2)
XYZxyz(10.5637, 16.0925, 4.9319)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7C2C #5D2C7C
analogous
#737C2C #4B7C2C #2C7C35
triadic
#4B7C2C #2C4B7C #7C2C4B
tetradic
#4B7C2C #2C737C #5D2C7C #7C352C
square
#4B7C2C #2C737C #5D2C7C #7C352C
split-complementary
#4B7C2C #352C7C #7C2C73
monochromatic
#14220C #304F1C #4B7C2C #66A93C #85C55D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B7C2C#FFFFFF#000000##FFFFFF
##4B7C2C1.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)
#817223
Deuteranopia (green-blind)
#7A6E32
Tritanopia (blue-blind)
#4A776B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4b7c2c;
/* rgb */ color: rgb(75, 124, 44);
/* oklch */ color: oklch(53.3% 0.123 135.2);
Tailwind
colors: {
  custom: {
    50: '#81a269',
    500: '#4b7c2c',
    950: '#000000',
  },
}
SCSS
$custom: #4b7c2c;
$custom-light: #81a269;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7c2c",
  "rgb": {
    "r": 75,
    "g": 124,
    "b": 44
  },
  "hsl": {
    "h": 96.75,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53325,
    "c": 0.12345,
    "h": 135.2
  },
  "luminance": 0.16093
}

Semantic roles & 50–950 ramp

primary
#4B7C2C
secondary
#8B58AC
accent
#51D7A3
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4B7C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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