#4D6015#4D6015

#4D6015 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.8% C 0.101 H 123.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#4D6015
RGBrgb(77, 96, 21)
HSLhsl(75, 64%, 23%)
HSVhsv(75, 78%, 38%)
CMYKcmyk(19.8%, 0%, 78.1%, 62.4%)
CIE-LABlab(37.84, -18.76, 37.94)
CIE-LCHlch(37.84, 42.32, 116.31°)
OKLaboklab(45.77% -0.0548 0.0844)
OKLCHoklch(45.77% 0.101 123)
XYZxyz(7.3789, 9.9976, 2.2503)
Luminance0.1000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6015 #281560
analogous
#604D15 #4D6015 #276015
triadic
#4D6015 #154D60 #60154D
tetradic
#4D6015 #15604D #281560 #601527
square
#4D6015 #15604D #281560 #601527
split-complementary
#4D6015 #152760 #4D1560
monochromatic
#141905 #252E0A #4D6015 #759220 #9EC42B

Accessibility & contrast

On white

7.00
#4D6015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4D6015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6015
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6015#FFFFFF#000000##FFFFFF
##4D60151.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A06
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#515B52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d6015;
/* rgb */ color: rgb(77, 96, 21);
/* oklch */ color: oklch(45.8% 0.101 123.0);
Tailwind
colors: {
  custom: {
    50: '#818d59',
    500: '#4d6015',
    950: '#000000',
  },
}
SCSS
$custom: #4d6015;
$custom-light: #818d59;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6015",
  "rgb": {
    "r": 77,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 75.2,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45773,
    "c": 0.10063,
    "h": 123
  },
  "luminance": 0.09998
}

Semantic roles & 50–950 ramp

primary
#4D6015
secondary
#513A97
accent
#41E76B
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4D6015

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

Preview Lab → · Contrast checker → · Palette generator →

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