#4E7E21#4E7E21

#4E7E21 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.133 H 133.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4E7E21
RGBrgb(78, 126, 33)
HSLhsl(91, 58%, 31%)
HSVhsv(91, 74%, 49%)
CMYKcmyk(38.1%, 0%, 73.8%, 50.6%)
CIE-LABlab(47.82, -32.32, 43.11)
CIE-LCHlch(47.82, 53.88, 126.86°)
OKLaboklab(53.93% -0.0908 0.0972)
OKLCHoklch(53.93% 0.133 133.1)
XYZxyz(10.8771, 16.6507, 4.0794)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E21 #51217E
analogous
#7C7E21 #4E7E21 #217E22
triadic
#4E7E21 #214E7E #7E214E
tetradic
#4E7E21 #217C7E #51217E #7E2221
square
#4E7E21 #217C7E #51217E #7E2221
split-complementary
#4E7E21 #22217E #7E217C
monochromatic
#121D08 #304E14 #4E7E21 #6CAE2E #8BD04A

Accessibility & contrast

On white

4.85
#4E7E21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#4E7E21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7E21
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E21#FFFFFF#000000##FFFFFF
##4E7E211.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837411
Deuteranopia (green-blind)
#7D702A
Tritanopia (blue-blind)
#4E796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7e21;
/* rgb */ color: rgb(78, 126, 33);
/* oklch */ color: oklch(53.9% 0.133 133.1);
Tailwind
colors: {
  custom: {
    50: '#84a463',
    500: '#4e7e21',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e21;
$custom-light: #84a463;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e21",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 33
  },
  "hsl": {
    "h": 90.968,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53927,
    "c": 0.13302,
    "h": 133.1
  },
  "luminance": 0.16651
}

Semantic roles & 50–950 ramp

primary
#4E7E21
secondary
#7F4AB1
accent
#46E296
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4E7E21

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

Preview Lab → · Contrast checker → · Palette generator →

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