#4D7022#4D7022

#4D7022 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.1% C 0.113 H 130.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4D7022
RGBrgb(77, 112, 34)
HSLhsl(87, 53%, 29%)
HSVhsv(87, 70%, 44%)
CMYKcmyk(31.2%, 0%, 69.6%, 56.1%)
CIE-LABlab(43.18, -26.00, 37.88)
CIE-LCHlch(43.18, 45.95, 124.47°)
OKLaboklab(50.14% -0.0734 0.0864)
OKLCHoklch(50.14% 0.113 130.4)
XYZxyz(9.1434, 13.2813, 3.5949)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7022 #452270
analogous
#706C22 #4D7022 #267022
triadic
#4D7022 #224D70 #70224D
tetradic
#4D7022 #22706C #452270 #702226
square
#4D7022 #22706C #452270 #702226
split-complementary
#4D7022 #222670 #6C2270
monochromatic
#101707 #2D4114 #4D7022 #6D9F30 #8DC746

Accessibility & contrast

On white

5.74
#4D7022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4D7022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7022
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7022#FFFFFF#000000##FFFFFF
##4D70221.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756817
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#4F6B60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d7022;
/* rgb */ color: rgb(77, 112, 34);
/* oklch */ color: oklch(50.1% 0.113 130.4);
Tailwind
colors: {
  custom: {
    50: '#829962',
    500: '#4d7022',
    950: '#000000',
  },
}
SCSS
$custom: #4d7022;
$custom-light: #829962;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7022",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 34
  },
  "hsl": {
    "h": 86.923,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50139,
    "c": 0.11339,
    "h": 130.4
  },
  "luminance": 0.13282
}

Semantic roles & 50–950 ramp

primary
#4D7022
secondary
#724AA3
accent
#4BDD8C
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D7022

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

Preview Lab → · Contrast checker → · Palette generator →

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