#4D9A23#4D9A23

#4D9A23 is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 61.4% C 0.168 H 137.1°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4D9A23
RGBrgb(77, 154, 35)
HSLhsl(99, 63%, 37%)
HSVhsv(99, 77%, 60%)
CMYKcmyk(50%, 0%, 77.3%, 39.6%)
CIE-LABlab(56.89, -44.46, 51.33)
CIE-LCHlch(56.89, 67.91, 130.90°)
OKLaboklab(61.36% -0.1234 0.1147)
OKLCHoklch(61.36% 0.168 137.1)
XYZxyz(14.9191, 24.8093, 5.5923)
Luminance0.2481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9A23 #70239A
analogous
#889A23 #4D9A23 #239A35
triadic
#4D9A23 #234D9A #9A234D
tetradic
#4D9A23 #23889A #70239A #9A3523
square
#4D9A23 #23889A #70239A #9A3523
split-complementary
#4D9A23 #35239A #9A2388
monochromatic
#1B360C #346818 #4D9A23 #66CC2E #89DA5D

Accessibility & contrast

On white

3.52
#4D9A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#4D9A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9A23
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9A23#FFFFFF#000000##000000
##4D9A231.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C06
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#489484
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4d9a23;
/* rgb */ color: rgb(77, 154, 35);
/* oklch */ color: oklch(61.4% 0.168 137.1);
Tailwind
colors: {
  custom: {
    50: '#86b867',
    500: '#4d9a23',
    950: '#000000',
  },
}
SCSS
$custom: #4d9a23;
$custom-light: #86b867;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9a23",
  "rgb": {
    "r": 77,
    "g": 154,
    "b": 35
  },
  "hsl": {
    "h": 98.824,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61357,
    "c": 0.16848,
    "h": 137.1
  },
  "luminance": 0.2481
}

Semantic roles & 50–950 ramp

primary
#4D9A23
secondary
#9B5ABF
accent
#42E6AC
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D9A23

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

Preview Lab → · Contrast checker → · Palette generator →

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