#4E7923#4E7923

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

Color values

HEX#4E7923
RGBrgb(78, 121, 35)
HSLhsl(90, 55%, 31%)
HSVhsv(90, 71%, 47%)
CMYKcmyk(35.5%, 0%, 71.1%, 52.5%)
CIE-LABlab(46.20, -29.85, 40.62)
CIE-LCHlch(46.20, 50.41, 126.31°)
OKLaboklab(52.61% -0.0839 0.0923)
OKLCHoklch(52.61% 0.125 132.3)
XYZxyz(10.2825, 15.4154, 4.0235)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7923 #4E2379
analogous
#797923 #4E7923 #237923
triadic
#4E7923 #234E79 #79234E
tetradic
#4E7923 #237979 #4E2379 #792323
square
#4E7923 #237979 #4E2379 #792323
split-complementary
#4E7923 #232379 #792379
monochromatic
#111A08 #2F4A15 #4E7923 #6DA831 #8BCB4B

Accessibility & contrast

On white

5.14
#4E7923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4E7923 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7923
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7923#FFFFFF#000000##FFFFFF
##4E79231.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e7923;
/* rgb */ color: rgb(78, 121, 35);
/* oklch */ color: oklch(52.6% 0.125 132.3);
Tailwind
colors: {
  custom: {
    50: '#83a063',
    500: '#4e7923',
    950: '#000000',
  },
}
SCSS
$custom: #4e7923;
$custom-light: #83a063;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7923",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 90,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52611,
    "c": 0.12475,
    "h": 132.3
  },
  "luminance": 0.15416
}

Semantic roles & 50–950 ramp

primary
#4E7923
secondary
#7C4CAC
accent
#49DE94
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4E7923

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

Preview Lab → · Contrast checker → · Palette generator →

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