#4B7D2A#4B7D2A

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

Color values

HEX#4B7D2A
RGBrgb(75, 125, 42)
HSLhsl(96, 50%, 33%)
HSVhsv(96, 66%, 49%)
CMYKcmyk(40%, 0%, 66.4%, 51%)
CIE-LABlab(47.40, -32.22, 38.76)
CIE-LCHlch(47.40, 50.40, 129.74°)
OKLaboklab(53.57% -0.0896 0.0894)
OKLCHoklch(53.57% 0.127 135.1)
XYZxyz(10.6529, 16.3297, 4.7807)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7D2A #5C2A7D
analogous
#747D2A #4B7D2A #2A7D33
triadic
#4B7D2A #2A4B7D #7D2A4B
tetradic
#4B7D2A #2A747D #5C2A7D #7D332A
square
#4B7D2A #2A747D #5C2A7D #7D332A
split-complementary
#4B7D2A #332A7D #7D2A74
monochromatic
#14210B #304F1B #4B7D2A #66AB39 #85C85A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B7D2A#FFFFFF#000000##FFFFFF
##4B7D2A1.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)
#827320
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#4A786C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4b7d2a;
/* rgb */ color: rgb(75, 125, 42);
/* oklch */ color: oklch(53.6% 0.127 135.1);
Tailwind
colors: {
  custom: {
    50: '#81a368',
    500: '#4b7d2a',
    950: '#000000',
  },
}
SCSS
$custom: #4b7d2a;
$custom-light: #81a368;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7d2a",
  "rgb": {
    "r": 75,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 96.145,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53571,
    "c": 0.12656,
    "h": 135.1
  },
  "luminance": 0.1633
}

Semantic roles & 50–950 ramp

primary
#4B7D2A
secondary
#8A56AD
accent
#4FD9A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4B7D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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