#4D7E23#4D7E23

#4D7E23 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.9% C 0.132 H 133.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4D7E23
RGBrgb(77, 126, 35)
HSLhsl(92, 57%, 32%)
HSVhsv(92, 72%, 49%)
CMYKcmyk(38.9%, 0%, 72.2%, 50.6%)
CIE-LABlab(47.78, -32.55, 42.24)
CIE-LCHlch(47.78, 53.32, 127.61°)
OKLaboklab(53.89% -0.0912 0.0957)
OKLCHoklch(53.89% 0.132 133.6)
XYZxyz(10.8246, 16.6203, 4.2275)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7E23 #54237E
analogous
#7B7E23 #4D7E23 #237E27
triadic
#4D7E23 #234D7E #7E234D
tetradic
#4D7E23 #237B7E #54237E #7E2723
square
#4D7E23 #237B7E #54237E #7E2723
split-complementary
#4D7E23 #27237E #7E237B
monochromatic
#121E08 #304E16 #4D7E23 #6AAE30 #89CE4E

Accessibility & contrast

On white

4.86
#4D7E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#4D7E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7E23
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7E23#FFFFFF#000000##FFFFFF
##4D7E231.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837415
Deuteranopia (green-blind)
#7C702B
Tritanopia (blue-blind)
#4D796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4d7e23;
/* rgb */ color: rgb(77, 126, 35);
/* oklch */ color: oklch(53.9% 0.132 133.6);
Tailwind
colors: {
  custom: {
    50: '#83a464',
    500: '#4d7e23',
    950: '#000000',
  },
}
SCSS
$custom: #4d7e23;
$custom-light: #83a464;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7e23",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 92.308,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53886,
    "c": 0.13218,
    "h": 133.6
  },
  "luminance": 0.16621
}

Semantic roles & 50–950 ramp

primary
#4D7E23
secondary
#824CB0
accent
#48E09A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4D7E23

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

Preview Lab → · Contrast checker → · Palette generator →

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