#4D7923#4D7923

#4D7923 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.5% C 0.125 H 132.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4D7923
RGBrgb(77, 121, 35)
HSLhsl(91, 55%, 31%)
HSVhsv(91, 71%, 47%)
CMYKcmyk(36.4%, 0%, 71.1%, 52.5%)
CIE-LABlab(46.14, -30.24, 40.55)
CIE-LCHlch(46.14, 50.58, 126.71°)
OKLaboklab(52.55% -0.0849 0.0921)
OKLCHoklch(52.55% 0.125 132.7)
XYZxyz(10.2012, 15.3735, 4.0197)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7923 #4F2379
analogous
#787923 #4D7923 #237924
triadic
#4D7923 #234D79 #79234D
tetradic
#4D7923 #237879 #4F2379 #792423
square
#4D7923 #237879 #4F2379 #792423
split-complementary
#4D7923 #242379 #792378
monochromatic
#111A08 #2F4A15 #4D7923 #6BA831 #8ACB4B

Accessibility & contrast

On white

5.15
#4D7923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4D7923 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7923
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7923#FFFFFF#000000##FFFFFF
##4D79231.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d7923;
/* rgb */ color: rgb(77, 121, 35);
/* oklch */ color: oklch(52.5% 0.125 132.7);
Tailwind
colors: {
  custom: {
    50: '#82a063',
    500: '#4d7923',
    950: '#000000',
  },
}
SCSS
$custom: #4d7923;
$custom-light: #82a063;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7923",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 90.698,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5255,
    "c": 0.1253,
    "h": 132.7
  },
  "luminance": 0.15374
}

Semantic roles & 50–950 ramp

primary
#4D7923
secondary
#7D4CAC
accent
#49DE96
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4D7923

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

Preview Lab → · Contrast checker → · Palette generator →

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