#4E6315#4E6315

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

Color values

HEX#4E6315
RGBrgb(78, 99, 21)
HSLhsl(76, 65%, 24%)
HSVhsv(76, 79%, 39%)
CMYKcmyk(21.2%, 0%, 78.8%, 61.2%)
CIE-LABlab(38.89, -19.90, 38.98)
CIE-LCHlch(38.89, 43.77, 117.04°)
OKLaboklab(46.65% -0.058 0.0866)
OKLCHoklch(46.65% 0.104 123.8)
XYZxyz(7.7392, 10.5975, 2.3471)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6315 #2A1563
analogous
#635115 #4E6315 #276315
triadic
#4E6315 #154E63 #63154E
tetradic
#4E6315 #156351 #2A1563 #631527
square
#4E6315 #156351 #2A1563 #631527
split-complementary
#4E6315 #152763 #511563
monochromatic
#141905 #26310A #4E6315 #769520 #9EC82A

Accessibility & contrast

On white

6.73
#4E6315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E6315
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6315#FFFFFF#000000##FFFFFF
##4E63151.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e6315;
/* rgb */ color: rgb(78, 99, 21);
/* oklch */ color: oklch(46.6% 0.104 123.8);
Tailwind
colors: {
  custom: {
    50: '#828f59',
    500: '#4e6315',
    950: '#000000',
  },
}
SCSS
$custom: #4e6315;
$custom-light: #828f59;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6315",
  "rgb": {
    "r": 78,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 76.154,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46646,
    "c": 0.10419,
    "h": 123.8
  },
  "luminance": 0.10598
}

Semantic roles & 50–950 ramp

primary
#4E6315
secondary
#543A9A
accent
#40E86D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E6315

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

Preview Lab → · Contrast checker → · Palette generator →

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