#4B7822#4B7822

#4B7822 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.2% C 0.126 H 133.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4B7822
RGBrgb(75, 120, 34)
HSLhsl(91, 56%, 30%)
HSVhsv(91, 72%, 47%)
CMYKcmyk(37.5%, 0%, 71.7%, 52.9%)
CIE-LABlab(45.69, -30.62, 40.47)
CIE-LCHlch(45.69, 50.75, 127.11°)
OKLaboklab(52.15% -0.0859 0.0919)
OKLCHoklch(52.15% 0.126 133.1)
XYZxyz(9.9067, 15.0439, 3.8948)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7822 #4F2278
analogous
#767822 #4B7822 #227824
triadic
#4B7822 #224B78 #78224B
tetradic
#4B7822 #227678 #4F2278 #782422
square
#4B7822 #227678 #4F2278 #782422
split-complementary
#4B7822 #242278 #782276
monochromatic
#0F1907 #2D4814 #4B7822 #69A830 #87CB49

Accessibility & contrast

On white

5.24
#4B7822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#4B7822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7822
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7822#FFFFFF#000000##FFFFFF
##4B78221.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E15
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#4B7367
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4b7822;
/* rgb */ color: rgb(75, 120, 34);
/* oklch */ color: oklch(52.2% 0.126 133.1);
Tailwind
colors: {
  custom: {
    50: '#819f62',
    500: '#4b7822',
    950: '#000000',
  },
}
SCSS
$custom: #4b7822;
$custom-light: #819f62;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7822",
  "rgb": {
    "r": 75,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 91.395,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52153,
    "c": 0.12577,
    "h": 133.1
  },
  "luminance": 0.15044
}

Semantic roles & 50–950 ramp

primary
#4B7822
secondary
#7D4BAB
accent
#49DF97
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4B7822

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

Preview Lab → · Contrast checker → · Palette generator →

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