#4E6212#4E6212

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

Color values

HEX#4E6212
RGBrgb(78, 98, 18)
HSLhsl(75, 69%, 23%)
HSVhsv(75, 82%, 38%)
CMYKcmyk(20.4%, 0%, 81.6%, 61.6%)
CIE-LABlab(38.55, -19.54, 39.76)
CIE-LCHlch(38.55, 44.30, 116.17°)
OKLaboklab(46.36% -0.0573 0.0876)
OKLCHoklch(46.36% 0.105 123.2)
XYZxyz(7.6188, 10.3987, 2.1779)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6212 #261262
analogous
#624E12 #4E6212 #266212
triadic
#4E6212 #124E62 #62124E
tetradic
#4E6212 #12624E #261262 #621226
square
#4E6212 #12624E #261262 #621226
split-complementary
#4E6212 #122662 #4E1262
monochromatic
#151A05 #252E09 #4E6212 #77961B #A0C925

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E6212#FFFFFF#000000##FFFFFF
##4E62121.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)
#685B01
Deuteranopia (green-blind)
#665B1A
Tritanopia (blue-blind)
#525D53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e6212;
/* rgb */ color: rgb(78, 98, 18);
/* oklch */ color: oklch(46.4% 0.105 123.2);
Tailwind
colors: {
  custom: {
    50: '#828e57',
    500: '#4e6212',
    950: '#000000',
  },
}
SCSS
$custom: #4e6212;
$custom-light: #828e57;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6212",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.46361,
    "c": 0.10469,
    "h": 123.2
  },
  "luminance": 0.10399
}

Semantic roles & 50–950 ramp

primary
#4E6212
secondary
#4F369A
accent
#3CEC68
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4E6212

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

Preview Lab → · Contrast checker → · Palette generator →

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