#4E7823#4E7823

#4E7823 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.3% C 0.123 H 132.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4E7823
RGBrgb(78, 120, 35)
HSLhsl(90, 55%, 30%)
HSVhsv(90, 71%, 47%)
CMYKcmyk(35%, 0%, 70.8%, 52.9%)
CIE-LABlab(45.87, -29.38, 40.28)
CIE-LCHlch(45.87, 49.86, 126.10°)
OKLaboklab(52.34% -0.0826 0.0916)
OKLCHoklch(52.34% 0.123 132.1)
XYZxyz(10.1616, 15.1736, 3.9832)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7823 #4D2378
analogous
#787723 #4E7823 #237823
triadic
#4E7823 #234E78 #78234E
tetradic
#4E7823 #237877 #4D2378 #782323
square
#4E7823 #237877 #4D2378 #782323
split-complementary
#4E7823 #232378 #772378
monochromatic
#101907 #2F4915 #4E7823 #6DA731 #8BCA4B

Accessibility & contrast

On white

5.20
#4E7823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4E7823 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7823
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7823#FFFFFF#000000##FFFFFF
##4E78231.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F17
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#4F7367
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e7823;
/* rgb */ color: rgb(78, 120, 35);
/* oklch */ color: oklch(52.3% 0.123 132.1);
Tailwind
colors: {
  custom: {
    50: '#839f63',
    500: '#4e7823',
    950: '#000000',
  },
}
SCSS
$custom: #4e7823;
$custom-light: #839f63;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7823",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 35
  },
  "hsl": {
    "h": 89.647,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52344,
    "c": 0.12335,
    "h": 132.1
  },
  "luminance": 0.15174
}

Semantic roles & 50–950 ramp

primary
#4E7823
secondary
#7B4CAB
accent
#4ADE93
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4E7823

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

Preview Lab → · Contrast checker → · Palette generator →

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