#4E7123#4E7123

#4E7123 is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.5% C 0.113 H 130.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4E7123
RGBrgb(78, 113, 35)
HSLhsl(87, 53%, 29%)
HSVhsv(87, 69%, 44%)
CMYKcmyk(31%, 0%, 69%, 55.7%)
CIE-LABlab(43.58, -26.00, 37.87)
CIE-LCHlch(43.58, 45.94, 124.47°)
OKLaboklab(50.48% -0.0734 0.0865)
OKLCHoklch(50.48% 0.113 130.3)
XYZxyz(9.3503, 13.5510, 3.7128)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7123 #462371
analogous
#716D23 #4E7123 #277123
triadic
#4E7123 #234E71 #71234E
tetradic
#4E7123 #23716D #462371 #712327
square
#4E7123 #23716D #462371 #712327
split-complementary
#4E7123 #232771 #6D2371
monochromatic
#101707 #2E4215 #4E7123 #6EA031 #8EC648

Accessibility & contrast

On white

5.66
#4E7123 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4E7123 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7123
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7123#FFFFFF#000000##FFFFFF
##4E71231.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766919
Deuteranopia (green-blind)
#716629
Tritanopia (blue-blind)
#506C61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e7123;
/* rgb */ color: rgb(78, 113, 35);
/* oklch */ color: oklch(50.5% 0.113 130.3);
Tailwind
colors: {
  custom: {
    50: '#829a62',
    500: '#4e7123',
    950: '#000000',
  },
}
SCSS
$custom: #4e7123;
$custom-light: #829a62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7123",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 35
  },
  "hsl": {
    "h": 86.923,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50481,
    "c": 0.11347,
    "h": 130.3
  },
  "luminance": 0.13551
}

Semantic roles & 50–950 ramp

primary
#4E7123
secondary
#734CA4
accent
#4CDC8C
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4E7123

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

Preview Lab → · Contrast checker → · Palette generator →

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