#4D6115#4D6115

#4D6115 is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 46.0% C 0.102 H 123.5°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#4D6115
RGBrgb(77, 97, 21)
HSLhsl(76, 64%, 23%)
HSVhsv(76, 78%, 38%)
CMYKcmyk(20.6%, 0%, 78.4%, 62%)
CIE-LABlab(38.17, -19.29, 38.26)
CIE-LCHlch(38.17, 42.85, 116.76°)
OKLaboklab(46.04% -0.0563 0.0851)
OKLCHoklch(46.04% 0.102 123.5)
XYZxyz(7.4707, 10.1813, 2.2809)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6115 #291561
analogous
#614F15 #4D6115 #276115
triadic
#4D6115 #154D61 #61154D
tetradic
#4D6115 #15614F #291561 #611527
square
#4D6115 #15614F #291561 #611527
split-complementary
#4D6115 #152761 #4F1561
monochromatic
#141905 #252F0A #4D6115 #759320 #9DC62B

Accessibility & contrast

On white

6.92
#4D6115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4D6115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6115
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6115#FFFFFF#000000##FFFFFF
##4D61151.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A06
Deuteranopia (green-blind)
#645A1C
Tritanopia (blue-blind)
#515C52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4d6115;
/* rgb */ color: rgb(77, 97, 21);
/* oklch */ color: oklch(46.0% 0.102 123.5);
Tailwind
colors: {
  custom: {
    50: '#818e59',
    500: '#4d6115',
    950: '#000000',
  },
}
SCSS
$custom: #4d6115;
$custom-light: #818e59;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6115",
  "rgb": {
    "r": 77,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 75.789,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46038,
    "c": 0.10199,
    "h": 123.5
  },
  "luminance": 0.10181
}

Semantic roles & 50–950 ramp

primary
#4D6115
secondary
#523A98
accent
#40E76C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4D6115

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

Preview Lab → · Contrast checker → · Palette generator →

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