#4B7E22#4B7E22

#4B7E22 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.8% C 0.134 H 134.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4B7E22
RGBrgb(75, 126, 34)
HSLhsl(93, 58%, 31%)
HSVhsv(93, 73%, 49%)
CMYKcmyk(40.5%, 0%, 73%, 50.6%)
CIE-LABlab(47.67, -33.36, 42.50)
CIE-LCHlch(47.67, 54.03, 128.13°)
OKLaboklab(53.76% -0.0934 0.0961)
OKLCHoklch(53.76% 0.134 134.2)
XYZxyz(10.6510, 16.5325, 4.1430)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7E22 #55227E
analogous
#797E22 #4B7E22 #227E27
triadic
#4B7E22 #224B7E #7E224B
tetradic
#4B7E22 #22797E #55227E #7E2722
square
#4B7E22 #22797E #55227E #7E2722
split-complementary
#4B7E22 #27227E #7E2279
monochromatic
#121E08 #2E4E15 #4B7E22 #68AE2F #86CF4C

Accessibility & contrast

On white

4.88
#4B7E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#4B7E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7E22
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7E22#FFFFFF#000000##FFFFFF
##4B7E221.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837413
Deuteranopia (green-blind)
#7C702A
Tritanopia (blue-blind)
#4B796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4b7e22;
/* rgb */ color: rgb(75, 126, 34);
/* oklch */ color: oklch(53.8% 0.134 134.2);
Tailwind
colors: {
  custom: {
    50: '#82a463',
    500: '#4b7e22',
    950: '#000000',
  },
}
SCSS
$custom: #4b7e22;
$custom-light: #82a463;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7e22",
  "rgb": {
    "r": 75,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 93.261,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53763,
    "c": 0.134,
    "h": 134.2
  },
  "luminance": 0.16533
}

Semantic roles & 50–950 ramp

primary
#4B7E22
secondary
#834BB1
accent
#47E19C
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4B7E22

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

Preview Lab → · Contrast checker → · Palette generator →

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