#4B7922#4B7922

#4B7922 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.4% C 0.127 H 133.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4B7922
RGBrgb(75, 121, 34)
HSLhsl(92, 56%, 30%)
HSVhsv(92, 72%, 47%)
CMYKcmyk(38%, 0%, 71.9%, 52.5%)
CIE-LABlab(46.02, -31.08, 40.81)
CIE-LCHlch(46.02, 51.30, 127.29°)
OKLaboklab(52.42% -0.0872 0.0926)
OKLCHoklch(52.42% 0.127 133.3)
XYZxyz(10.0276, 15.2857, 3.9351)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7922 #502279
analogous
#767922 #4B7922 #227924
triadic
#4B7922 #224B79 #79224B
tetradic
#4B7922 #227679 #502279 #792422
square
#4B7922 #227679 #502279 #792422
split-complementary
#4B7922 #242279 #792276
monochromatic
#101907 #2D4915 #4B7922 #69A92F #87CC49

Accessibility & contrast

On white

5.18
#4B7922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#4B7922 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7922
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7922#FFFFFF#000000##FFFFFF
##4B79221.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F15
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#4B7468
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4b7922;
/* rgb */ color: rgb(75, 121, 34);
/* oklch */ color: oklch(52.4% 0.127 133.3);
Tailwind
colors: {
  custom: {
    50: '#81a063',
    500: '#4b7922',
    950: '#000000',
  },
}
SCSS
$custom: #4b7922;
$custom-light: #81a063;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7922",
  "rgb": {
    "r": 75,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 91.724,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52421,
    "c": 0.12716,
    "h": 133.3
  },
  "luminance": 0.15286
}

Semantic roles & 50–950 ramp

primary
#4B7922
secondary
#7E4BAC
accent
#48DF98
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4B7922

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

Preview Lab → · Contrast checker → · Palette generator →

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