#4E7718#4E7718

#4E7718 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 52.0% C 0.129 H 130.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4E7718
RGBrgb(78, 119, 24)
HSLhsl(86, 66%, 28%)
HSVhsv(86, 80%, 47%)
CMYKcmyk(34.5%, 0%, 79.8%, 53.3%)
CIE-LABlab(45.47, -29.67, 44.17)
CIE-LCHlch(45.47, 53.21, 123.89°)
OKLaboklab(51.99% -0.0843 0.098)
OKLCHoklch(51.99% 0.129 130.7)
XYZxyz(9.9035, 14.8790, 3.2141)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7718 #411877
analogous
#777018 #4E7718 #1E7718
triadic
#4E7718 #184E77 #77184E
tetradic
#4E7718 #187770 #411877 #77181E
square
#4E7718 #187770 #411877 #77181E
split-complementary
#4E7718 #181E77 #701877
monochromatic
#111905 #2D440E #4E7718 #6FAA22 #90D633

Accessibility & contrast

On white

5.28
#4E7718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4E7718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7718
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7718#FFFFFF#000000##FFFFFF
##4E77181.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#776B22
Tritanopia (blue-blind)
#507265
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e7718;
/* rgb */ color: rgb(78, 119, 24);
/* oklch */ color: oklch(52.0% 0.129 130.7);
Tailwind
colors: {
  custom: {
    50: '#849e5d',
    500: '#4e7718',
    950: '#000000',
  },
}
SCSS
$custom: #4e7718;
$custom-light: #849e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7718",
  "rgb": {
    "r": 78,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 85.895,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51992,
    "c": 0.12927,
    "h": 130.7
  },
  "luminance": 0.14879
}

Semantic roles & 50–950 ramp

primary
#4E7718
secondary
#6E3FAC
accent
#3EE988
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E7718

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

Preview Lab → · Contrast checker → · Palette generator →

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