#4E7F13#4E7F13

#4E7F13 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.1% C 0.142 H 132.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4E7F13
RGBrgb(78, 127, 19)
HSLhsl(87, 74%, 29%)
HSVhsv(87, 85%, 50%)
CMYKcmyk(38.6%, 0%, 85%, 50.2%)
CIE-LABlab(48.06, -33.60, 48.13)
CIE-LCHlch(48.06, 58.69, 124.92°)
OKLaboklab(54.1% -0.0953 0.1055)
OKLCHoklch(54.1% 0.142 132.1)
XYZxyz(10.8487, 16.8450, 3.2958)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F13 #44137F
analogous
#7F7A13 #4E7F13 #187F13
triadic
#4E7F13 #134E7F #7F134E
tetradic
#4E7F13 #137F7A #44137F #7F1318
square
#4E7F13 #137F7A #44137F #7F1318
split-complementary
#4E7F13 #13187F #7A137F
monochromatic
#101B04 #2D4A0B #4E7F13 #6FB41B #8EE02D

Accessibility & contrast

On white

4.81
#4E7F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#4E7F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7F13
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7F13#FFFFFF#000000##FFFFFF
##4E7F131.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7E7120
Tritanopia (blue-blind)
#4F796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7f13;
/* rgb */ color: rgb(78, 127, 19);
/* oklch */ color: oklch(54.1% 0.142 132.1);
Tailwind
colors: {
  custom: {
    50: '#85a45c',
    500: '#4e7f13',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f13;
$custom-light: #85a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f13",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 87.222,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54104,
    "c": 0.14214,
    "h": 132.1
  },
  "luminance": 0.16845
}

Semantic roles & 50–950 ramp

primary
#4E7F13
secondary
#7139B4
accent
#37F18B
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7F13

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

Preview Lab → · Contrast checker → · Palette generator →

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