#4E7623#4E7623

#4E7623 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.8% C 0.121 H 131.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4E7623
RGBrgb(78, 118, 35)
HSLhsl(89, 54%, 30%)
HSVhsv(89, 70%, 46%)
CMYKcmyk(33.9%, 0%, 70.3%, 53.7%)
CIE-LABlab(45.22, -28.43, 39.60)
CIE-LCHlch(45.22, 48.75, 125.67°)
OKLaboklab(51.81% -0.08 0.0901)
OKLCHoklch(51.81% 0.121 131.6)
XYZxyz(9.9236, 14.6976, 3.9038)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7623 #4B2376
analogous
#767523 #4E7623 #247623
triadic
#4E7623 #234E76 #76234E
tetradic
#4E7623 #237675 #4B2376 #762324
square
#4E7623 #237675 #4B2376 #762324
split-complementary
#4E7623 #232476 #752376
monochromatic
#101807 #2F4715 #4E7623 #6DA531 #8CC94A

Accessibility & contrast

On white

5.33
#4E7623 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4E7623 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7623
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7623#FFFFFF#000000##FFFFFF
##4E76231.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D17
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#4F7165
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e7623;
/* rgb */ color: rgb(78, 118, 35);
/* oklch */ color: oklch(51.8% 0.121 131.6);
Tailwind
colors: {
  custom: {
    50: '#839e63',
    500: '#4e7623',
    950: '#000000',
  },
}
SCSS
$custom: #4e7623;
$custom-light: #839e63;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7623",
  "rgb": {
    "r": 78,
    "g": 118,
    "b": 35
  },
  "hsl": {
    "h": 88.916,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.51812,
    "c": 0.12055,
    "h": 131.6
  },
  "luminance": 0.14698
}

Semantic roles & 50–950 ramp

primary
#4E7623
secondary
#794CA9
accent
#4ADE91
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4E7623

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

Preview Lab → · Contrast checker → · Palette generator →

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