#4B7D22#4B7D22

#4B7D22 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.5% C 0.133 H 134.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4B7D22
RGBrgb(75, 125, 34)
HSLhsl(93, 57%, 31%)
HSVhsv(93, 73%, 49%)
CMYKcmyk(40%, 0%, 72.8%, 51%)
CIE-LABlab(47.34, -32.91, 42.16)
CIE-LCHlch(47.34, 53.49, 127.97°)
OKLaboklab(53.5% -0.0921 0.0954)
OKLCHoklch(53.5% 0.133 134)
XYZxyz(10.5238, 16.2781, 4.1005)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7D22 #54227D
analogous
#787D22 #4B7D22 #227D26
triadic
#4B7D22 #224B7D #7D224B
tetradic
#4B7D22 #22787D #54227D #7D2622
square
#4B7D22 #22787D #54227D #7D2622
split-complementary
#4B7D22 #26227D #7D2278
monochromatic
#111D08 #2E4D15 #4B7D22 #68AD2F #86CE4B

Accessibility & contrast

On white

4.93
#4B7D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#4B7D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7D22
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7D22#FFFFFF#000000##FFFFFF
##4B7D221.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827313
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#4B786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4b7d22;
/* rgb */ color: rgb(75, 125, 34);
/* oklch */ color: oklch(53.5% 0.133 134.0);
Tailwind
colors: {
  custom: {
    50: '#82a363',
    500: '#4b7d22',
    950: '#000000',
  },
}
SCSS
$custom: #4b7d22;
$custom-light: #82a363;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7d22",
  "rgb": {
    "r": 75,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 92.967,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53495,
    "c": 0.13264,
    "h": 134
  },
  "luminance": 0.16279
}

Semantic roles & 50–950 ramp

primary
#4B7D22
secondary
#824BB0
accent
#47E09B
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4B7D22

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

Preview Lab → · Contrast checker → · Palette generator →

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