#4D6A0F#4D6A0F

#4D6A0F is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.4% C 0.117 H 126.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4D6A0F
RGBrgb(77, 106, 15)
HSLhsl(79, 75%, 24%)
HSVhsv(79, 86%, 42%)
CMYKcmyk(27.4%, 0%, 85.8%, 58.4%)
CIE-LABlab(41.09, -24.24, 43.02)
CIE-LCHlch(41.09, 49.38, 119.40°)
OKLaboklab(48.4% -0.0702 0.094)
OKLCHoklch(48.4% 0.117 126.8)
XYZxyz(8.3009, 11.9202, 2.3153)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6A0F #2C0F6A
analogous
#6A590F #4D6A0F #1F6A0F
triadic
#4D6A0F #0F4D6A #6A0F4D
tetradic
#4D6A0F #0F6A59 #2C0F6A #6A0F1F
square
#4D6A0F #0F6A59 #2C0F6A #6A0F1F
split-complementary
#4D6A0F #0F1F6A #590F6A
monochromatic
#131B04 #263407 #4D6A0F #74A017 #9BD51E

Accessibility & contrast

On white

6.21
#4D6A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4D6A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6A0F
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6A0F#FFFFFF#000000##FFFFFF
##4D6A0F1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6C6019
Tritanopia (blue-blind)
#51655A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d6a0f;
/* rgb */ color: rgb(77, 106, 15);
/* oklch */ color: oklch(48.4% 0.117 126.8);
Tailwind
colors: {
  custom: {
    50: '#829457',
    500: '#4d6a0f',
    950: '#000000',
  },
}
SCSS
$custom: #4d6a0f;
$custom-light: #829457;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6a0f",
  "rgb": {
    "r": 77,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 79.121,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48396,
    "c": 0.11736,
    "h": 126.8
  },
  "luminance": 0.1192
}

Semantic roles & 50–950 ramp

primary
#4D6A0F
secondary
#5632A2
accent
#36F272
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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