#4E6312#4E6312

#4E6312 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.6% C 0.106 H 123.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#4E6312
RGBrgb(78, 99, 18)
HSLhsl(76, 69%, 23%)
HSVhsv(76, 82%, 39%)
CMYKcmyk(21.2%, 0%, 81.8%, 61.2%)
CIE-LABlab(38.88, -20.06, 40.06)
CIE-LCHlch(38.88, 44.81, 116.60°)
OKLaboklab(46.63% -0.0587 0.0883)
OKLCHoklch(46.63% 0.106 123.6)
XYZxyz(7.7130, 10.5870, 2.2093)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6312 #271263
analogous
#635012 #4E6312 #256312
triadic
#4E6312 #124E63 #63124E
tetradic
#4E6312 #126350 #271263 #631225
square
#4E6312 #126350 #271263 #631225
split-complementary
#4E6312 #122563 #501263
monochromatic
#141A05 #252F09 #4E6312 #77971B #A0CB25

Accessibility & contrast

On white

6.74
#4E6312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4E6312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6312
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6312#FFFFFF#000000##FFFFFF
##4E63121.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#665B1A
Tritanopia (blue-blind)
#525E54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e6312;
/* rgb */ color: rgb(78, 99, 18);
/* oklch */ color: oklch(46.6% 0.106 123.6);
Tailwind
colors: {
  custom: {
    50: '#828f58',
    500: '#4e6312',
    950: '#000000',
  },
}
SCSS
$custom: #4e6312;
$custom-light: #828f58;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6312",
  "rgb": {
    "r": 78,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 75.556,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46625,
    "c": 0.10601,
    "h": 123.6
  },
  "luminance": 0.10587
}

Semantic roles & 50–950 ramp

primary
#4E6312
secondary
#50369B
accent
#3CEC69
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4E6312

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

Preview Lab → · Contrast checker → · Palette generator →

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