#4D7513#4D7513

#4D7513 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.4% C 0.130 H 130.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4D7513
RGBrgb(77, 117, 19)
HSLhsl(84, 72%, 27%)
HSVhsv(84, 84%, 46%)
CMYKcmyk(34.2%, 0%, 83.8%, 54.1%)
CIE-LABlab(44.73, -29.39, 45.09)
CIE-LCHlch(44.73, 53.83, 123.10°)
OKLaboklab(51.36% -0.0839 0.0991)
OKLCHoklch(51.36% 0.13 130.2)
XYZxyz(9.5394, 14.3471, 2.8826)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7513 #3B1375
analogous
#756C13 #4D7513 #1C7513
triadic
#4D7513 #134D75 #75134D
tetradic
#4D7513 #13756C #3B1375 #75131C
square
#4D7513 #13756C #3B1375 #75131C
split-complementary
#4D7513 #131C75 #6C1375
monochromatic
#111A04 #2A400A #4D7513 #70AA1C #92DC27

Accessibility & contrast

On white

5.43
#4D7513 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#4D7513 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7513
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7513#FFFFFF#000000##FFFFFF
##4D75131.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#75691E
Tritanopia (blue-blind)
#4F7063
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d7513;
/* rgb */ color: rgb(77, 117, 19);
/* oklch */ color: oklch(51.4% 0.130 130.2);
Tailwind
colors: {
  custom: {
    50: '#839d5b',
    500: '#4d7513',
    950: '#000000',
  },
}
SCSS
$custom: #4d7513;
$custom-light: #839d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7513",
  "rgb": {
    "r": 77,
    "g": 117,
    "b": 19
  },
  "hsl": {
    "h": 84.49,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51363,
    "c": 0.12983,
    "h": 130.2
  },
  "luminance": 0.14347
}

Semantic roles & 50–950 ramp

primary
#4D7513
secondary
#6738AB
accent
#39EF83
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7513

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

Preview Lab → · Contrast checker → · Palette generator →

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