#4E7412#4E7412

#4E7412 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.2% C 0.128 H 129.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4E7412
RGBrgb(78, 116, 18)
HSLhsl(83, 73%, 26%)
HSVhsv(83, 84%, 45%)
CMYKcmyk(32.8%, 0%, 84.5%, 54.5%)
CIE-LABlab(44.45, -28.56, 45.17)
CIE-LCHlch(44.45, 53.44, 122.31°)
OKLaboklab(51.15% -0.0818 0.0991)
OKLCHoklch(51.15% 0.128 129.5)
XYZxyz(9.4964, 14.1539, 2.8038)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7412 #381274
analogous
#746912 #4E7412 #1D7412
triadic
#4E7412 #124E74 #74124E
tetradic
#4E7412 #127469 #381274 #74121D
square
#4E7412 #127469 #381274 #74121D
split-complementary
#4E7412 #121D74 #691274
monochromatic
#121A04 #2A3F0A #4E7412 #72A91A #95DD23

Accessibility & contrast

On white

5.48
#4E7412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4E7412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7412
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7412#FFFFFF#000000##FFFFFF
##4E74121.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#75681D
Tritanopia (blue-blind)
#506F62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e7412;
/* rgb */ color: rgb(78, 116, 18);
/* oklch */ color: oklch(51.2% 0.128 129.5);
Tailwind
colors: {
  custom: {
    50: '#849c5a',
    500: '#4e7412',
    950: '#000000',
  },
}
SCSS
$custom: #4e7412;
$custom-light: #849c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7412",
  "rgb": {
    "r": 78,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 83.265,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51154,
    "c": 0.12845,
    "h": 129.5
  },
  "luminance": 0.14154
}

Semantic roles & 50–950 ramp

primary
#4E7412
secondary
#6437AB
accent
#38F07F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7412

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

Preview Lab → · Contrast checker → · Palette generator →

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