#4E6214#4E6214

#4E6214 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.4% C 0.103 H 123.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#4E6214
RGBrgb(78, 98, 20)
HSLhsl(75, 66%, 23%)
HSVhsv(75, 80%, 38%)
CMYKcmyk(20.4%, 0%, 79.6%, 61.6%)
CIE-LABlab(38.56, -19.43, 39.04)
CIE-LCHlch(38.56, 43.61, 116.46°)
OKLaboklab(46.37% -0.0568 0.0865)
OKLCHoklch(46.37% 0.103 123.3)
XYZxyz(7.6359, 10.4055, 2.2679)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6214 #281462
analogous
#624F14 #4E6214 #276214
triadic
#4E6214 #144E62 #62144E
tetradic
#4E6214 #14624F #281462 #621427
square
#4E6214 #14624F #281462 #621427
split-complementary
#4E6214 #142762 #4F1462
monochromatic
#141905 #262F0A #4E6214 #76951E #9FC829

Accessibility & contrast

On white

6.82
#4E6214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4E6214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6214
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6214#FFFFFF#000000##FFFFFF
##4E62141.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B04
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#525D53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e6214;
/* rgb */ color: rgb(78, 98, 20);
/* oklch */ color: oklch(46.4% 0.103 123.3);
Tailwind
colors: {
  custom: {
    50: '#828e58',
    500: '#4e6214',
    950: '#000000',
  },
}
SCSS
$custom: #4e6214;
$custom-light: #828e58;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6214",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 20
  },
  "hsl": {
    "h": 75.385,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46374,
    "c": 0.10348,
    "h": 123.3
  },
  "luminance": 0.10406
}

Semantic roles & 50–950 ramp

primary
#4E6214
secondary
#513899
accent
#3FE96A
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E6214

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

Preview Lab → · Contrast checker → · Palette generator →

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