#4E7F29#4E7F29

#4E7F29 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.3% C 0.129 H 134.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4E7F29
RGBrgb(78, 127, 41)
HSLhsl(94, 51%, 33%)
HSVhsv(94, 68%, 50%)
CMYKcmyk(38.6%, 0%, 67.7%, 50.2%)
CIE-LABlab(48.21, -32.13, 40.13)
CIE-LCHlch(48.21, 51.40, 128.68°)
OKLaboklab(54.27% -0.0896 0.0921)
OKLCHoklch(54.27% 0.129 134.2)
XYZxyz(11.1313, 16.9580, 4.7841)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F29 #5A297F
analogous
#797F29 #4E7F29 #297F2F
triadic
#4E7F29 #294E7F #7F294E
tetradic
#4E7F29 #29797F #5A297F #7F2F29
square
#4E7F29 #29797F #5A297F #7F2F29
split-complementary
#4E7F29 #2F297F #7F2979
monochromatic
#15220B #32511A #4E7F29 #6AAD38 #89C959

Accessibility & contrast

On white

4.78
#4E7F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4E7F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7F29
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7F29#FFFFFF#000000##FFFFFF
##4E7F291.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751E
Deuteranopia (green-blind)
#7D7130
Tritanopia (blue-blind)
#4E7A6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7f29;
/* rgb */ color: rgb(78, 127, 41);
/* oklch */ color: oklch(54.3% 0.129 134.2);
Tailwind
colors: {
  custom: {
    50: '#83a467',
    500: '#4e7f29',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f29;
$custom-light: #83a467;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f29",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 94.186,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54266,
    "c": 0.12851,
    "h": 134.2
  },
  "luminance": 0.16959
}

Semantic roles & 50–950 ramp

primary
#4E7F29
secondary
#8855AF
accent
#4DDB9E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7F29

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

Preview Lab → · Contrast checker → · Palette generator →

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