#4E6515#4E6515

#4E6515 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.2% C 0.107 H 124.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#4E6515
RGBrgb(78, 101, 21)
HSLhsl(77, 66%, 24%)
HSVhsv(77, 79%, 40%)
CMYKcmyk(22.8%, 0%, 79.2%, 60.4%)
CIE-LABlab(39.55, -20.94, 39.61)
CIE-LCHlch(39.55, 44.81, 117.87°)
OKLaboklab(47.18% -0.0608 0.0879)
OKLCHoklch(47.18% 0.107 124.7)
XYZxyz(7.9310, 10.9811, 2.4111)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6515 #2C1565
analogous
#655415 #4E6515 #266515
triadic
#4E6515 #154E65 #65154E
tetradic
#4E6515 #156554 #2C1565 #651526
square
#4E6515 #156554 #2C1565 #651526
split-complementary
#4E6515 #152665 #541565
monochromatic
#141905 #27320A #4E6515 #759820 #9CCA2A

Accessibility & contrast

On white

6.57
#4E6515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4E6515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6515
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6515#FFFFFF#000000##FFFFFF
##4E65151.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E04
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#526056
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e6515;
/* rgb */ color: rgb(78, 101, 21);
/* oklch */ color: oklch(47.2% 0.107 124.7);
Tailwind
colors: {
  custom: {
    50: '#829159',
    500: '#4e6515',
    950: '#000000',
  },
}
SCSS
$custom: #4e6515;
$custom-light: #829159;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6515",
  "rgb": {
    "r": 78,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 77.25,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.47175,
    "c": 0.10688,
    "h": 124.7
  },
  "luminance": 0.10981
}

Semantic roles & 50–950 ramp

primary
#4E6515
secondary
#563A9C
accent
#3FE970
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E6515

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

Preview Lab → · Contrast checker → · Palette generator →

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