#4E7022#4E7022

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

Color values

HEX#4E7022
RGBrgb(78, 112, 34)
HSLhsl(86, 53%, 29%)
HSVhsv(86, 70%, 44%)
CMYKcmyk(30.4%, 0%, 69.6%, 56.1%)
CIE-LABlab(43.25, -25.59, 37.97)
CIE-LCHlch(43.25, 45.79, 123.99°)
OKLaboklab(50.21% -0.0724 0.0866)
OKLCHoklch(50.21% 0.113 129.9)
XYZxyz(9.2247, 13.3233, 3.5987)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7022 #442270
analogous
#706B22 #4E7022 #277022
triadic
#4E7022 #224E70 #70224E
tetradic
#4E7022 #22706B #442270 #702227
square
#4E7022 #22706B #442270 #702227
split-complementary
#4E7022 #222770 #6B2270
monochromatic
#101707 #2D4114 #4E7022 #6F9F30 #8EC746

Accessibility & contrast

On white

5.73
#4E7022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E7022
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7022#FFFFFF#000000##FFFFFF
##4E70221.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756817
Deuteranopia (green-blind)
#716528
Tritanopia (blue-blind)
#506B60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e7022;
/* rgb */ color: rgb(78, 112, 34);
/* oklch */ color: oklch(50.2% 0.113 129.9);
Tailwind
colors: {
  custom: {
    50: '#829962',
    500: '#4e7022',
    950: '#000000',
  },
}
SCSS
$custom: #4e7022;
$custom-light: #829962;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7022",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 34
  },
  "hsl": {
    "h": 86.154,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50206,
    "c": 0.11284,
    "h": 129.9
  },
  "luminance": 0.13324
}

Semantic roles & 50–950 ramp

primary
#4E7022
secondary
#714AA3
accent
#4BDD8B
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E7022

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

Preview Lab → · Contrast checker → · Palette generator →

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