#4E792C#4E792C

#4E792C is a mid, moderate yellow-green. Relative luminance 0.155; OKLCH L 52.7% C 0.117 H 133.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4E792C
RGBrgb(78, 121, 44)
HSLhsl(94, 47%, 32%)
HSVhsv(94, 64%, 47%)
CMYKcmyk(35.5%, 0%, 63.6%, 52.5%)
CIE-LABlab(46.28, -29.04, 36.63)
CIE-LCHlch(46.28, 46.74, 128.41°)
OKLaboklab(52.7% -0.0809 0.0851)
OKLCHoklch(52.7% 0.117 133.6)
XYZxyz(10.4337, 15.4759, 4.8198)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E792C #572C79
analogous
#75792C #4E792C #2C7930
triadic
#4E792C #2C4E79 #792C4E
tetradic
#4E792C #2C7579 #572C79 #79302C
square
#4E792C #2C7579 #572C79 #79302C
split-complementary
#4E792C #302C79 #792C75
monochromatic
#141F0B #314C1C #4E792C #6BA63C #8AC45C

Accessibility & contrast

On white

5.13
#4E792C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4E792C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E792C
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E792C#FFFFFF#000000##FFFFFF
##4E792C1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7023
Deuteranopia (green-blind)
#786C32
Tritanopia (blue-blind)
#4E7469
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e792c;
/* rgb */ color: rgb(78, 121, 44);
/* oklch */ color: oklch(52.7% 0.117 133.6);
Tailwind
colors: {
  custom: {
    50: '#83a068',
    500: '#4e792c',
    950: '#000000',
  },
}
SCSS
$custom: #4e792c;
$custom-light: #83a068;
$custom-dark: #000000;
JSON
{
  "hex": "#4e792c",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 93.506,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52703,
    "c": 0.11741,
    "h": 133.6
  },
  "luminance": 0.15476
}

Semantic roles & 50–950 ramp

primary
#4E792C
secondary
#8557AA
accent
#51D69C
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E792C

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

Preview Lab → · Contrast checker → · Palette generator →

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