#4D6318#4D6318

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

Color values

HEX#4D6318
RGBrgb(77, 99, 24)
HSLhsl(78, 61%, 24%)
HSVhsv(78, 76%, 39%)
CMYKcmyk(22.2%, 0%, 75.8%, 61.2%)
CIE-LABlab(38.84, -20.16, 37.72)
CIE-LCHlch(38.84, 42.77, 118.12°)
OKLaboklab(46.59% -0.0583 0.0845)
OKLCHoklch(46.59% 0.103 124.6)
XYZxyz(7.6873, 10.5673, 2.4987)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6318 #2E1863
analogous
#635418 #4D6318 #286318
triadic
#4D6318 #184D63 #63184D
tetradic
#4D6318 #186354 #2E1863 #631828
square
#4D6318 #186354 #2E1863 #631828
split-complementary
#4D6318 #182863 #541863
monochromatic
#131906 #27320C #4D6318 #739424 #9AC630

Accessibility & contrast

On white

6.75
#4D6318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4D6318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6318
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6318#FFFFFF#000000##FFFFFF
##4D63181.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C0B
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#515E54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d6318;
/* rgb */ color: rgb(77, 99, 24);
/* oklch */ color: oklch(46.6% 0.103 124.6);
Tailwind
colors: {
  custom: {
    50: '#818f5a',
    500: '#4d6318',
    950: '#000000',
  },
}
SCSS
$custom: #4d6318;
$custom-light: #818f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6318",
  "rgb": {
    "r": 77,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 77.6,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46591,
    "c": 0.10266,
    "h": 124.6
  },
  "luminance": 0.10567
}

Semantic roles & 50–950 ramp

primary
#4D6318
secondary
#583E99
accent
#44E473
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4D6318

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

Preview Lab → · Contrast checker → · Palette generator →

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