#4D7F13#4D7F13

#4D7F13 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.0% C 0.143 H 132.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4D7F13
RGBrgb(77, 127, 19)
HSLhsl(88, 74%, 29%)
HSVhsv(88, 85%, 50%)
CMYKcmyk(39.4%, 0%, 85%, 50.2%)
CIE-LABlab(48.01, -33.98, 48.06)
CIE-LCHlch(48.01, 58.86, 125.26°)
OKLaboklab(54.05% -0.0962 0.1054)
OKLCHoklch(54.05% 0.143 132.4)
XYZxyz(10.7674, 16.8031, 3.2920)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7F13 #45137F
analogous
#7F7B13 #4D7F13 #177F13
triadic
#4D7F13 #134D7F #7F134D
tetradic
#4D7F13 #137F7B #45137F #7F1317
square
#4D7F13 #137F7B #45137F #7F1317
split-complementary
#4D7F13 #13177F #7B137F
monochromatic
#101B04 #2D4A0B #4D7F13 #6DB41B #8DE02D

Accessibility & contrast

On white

4.82
#4D7F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#4D7F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7F13
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7F13#FFFFFF#000000##FFFFFF
##4D7F131.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7E7120
Tritanopia (blue-blind)
#4E796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4d7f13;
/* rgb */ color: rgb(77, 127, 19);
/* oklch */ color: oklch(54.0% 0.143 132.4);
Tailwind
colors: {
  custom: {
    50: '#84a45c',
    500: '#4d7f13',
    950: '#000000',
  },
}
SCSS
$custom: #4d7f13;
$custom-light: #84a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7f13",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 87.778,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54046,
    "c": 0.14269,
    "h": 132.4
  },
  "luminance": 0.16804
}

Semantic roles & 50–950 ramp

primary
#4D7F13
secondary
#7239B4
accent
#37F18D
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7F13

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

Preview Lab → · Contrast checker → · Palette generator →

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