#4E6215#4E6215

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

Color values

HEX#4E6215
RGBrgb(78, 98, 21)
HSLhsl(76, 65%, 23%)
HSVhsv(76, 79%, 38%)
CMYKcmyk(20.4%, 0%, 78.6%, 61.6%)
CIE-LABlab(38.57, -19.37, 38.67)
CIE-LCHlch(38.57, 43.25, 116.61°)
OKLaboklab(46.38% -0.0565 0.0859)
OKLCHoklch(46.38% 0.103 123.4)
XYZxyz(7.6450, 10.4092, 2.3157)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6215 #291562
analogous
#624F15 #4E6215 #276215
triadic
#4E6215 #154E62 #62154E
tetradic
#4E6215 #15624F #291562 #621527
square
#4E6215 #15624F #291562 #621527
split-complementary
#4E6215 #152762 #4F1562
monochromatic
#141905 #26300A #4E6215 #769420 #9EC72B

Accessibility & contrast

On white

6.81
#4E6215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E6215
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6215#FFFFFF#000000##FFFFFF
##4E62151.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B06
Deuteranopia (green-blind)
#655B1C
Tritanopia (blue-blind)
#525D53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e6215;
/* rgb */ color: rgb(78, 98, 21);
/* oklch */ color: oklch(46.4% 0.103 123.4);
Tailwind
colors: {
  custom: {
    50: '#828e59',
    500: '#4e6215',
    950: '#000000',
  },
}
SCSS
$custom: #4e6215;
$custom-light: #828e59;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6215",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 21
  },
  "hsl": {
    "h": 75.584,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46381,
    "c": 0.10283,
    "h": 123.4
  },
  "luminance": 0.10409
}

Semantic roles & 50–950 ramp

primary
#4E6215
secondary
#523A99
accent
#40E86C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E6215

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

Preview Lab → · Contrast checker → · Palette generator →

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