#4E7B22#4E7B22

#4E7B22 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.1% C 0.128 H 132.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4E7B22
RGBrgb(78, 123, 34)
HSLhsl(90, 57%, 31%)
HSVhsv(90, 72%, 48%)
CMYKcmyk(36.6%, 0%, 72.4%, 51.8%)
CIE-LABlab(46.84, -30.86, 41.71)
CIE-LCHlch(46.84, 51.89, 126.50°)
OKLaboklab(53.14% -0.0868 0.0944)
OKLCHoklch(53.14% 0.128 132.6)
XYZxyz(10.5134, 15.9007, 4.0283)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7B22 #4F227B
analogous
#7A7B22 #4E7B22 #227B22
triadic
#4E7B22 #224E7B #7B224E
tetradic
#4E7B22 #227A7B #4F227B #7B2222
square
#4E7B22 #227A7B #4F227B #7B2222
split-complementary
#4E7B22 #22227B #7B227A
monochromatic
#111B07 #304B15 #4E7B22 #6CAB2F #8BCD4A

Accessibility & contrast

On white

5.02
#4E7B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4E7B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7B22
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7B22#FFFFFF#000000##FFFFFF
##4E7B221.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#7A6E2A
Tritanopia (blue-blind)
#4F7669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7b22;
/* rgb */ color: rgb(78, 123, 34);
/* oklch */ color: oklch(53.1% 0.128 132.6);
Tailwind
colors: {
  custom: {
    50: '#83a163',
    500: '#4e7b22',
    950: '#000000',
  },
}
SCSS
$custom: #4e7b22;
$custom-light: #83a163;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7b22",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 90.337,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53135,
    "c": 0.12823,
    "h": 132.6
  },
  "luminance": 0.15901
}

Semantic roles & 50–950 ramp

primary
#4E7B22
secondary
#7D4BAE
accent
#48E095
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F05
muted
#7C7E7A

Preview Lab

Preview with #4E7B22

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

Preview Lab → · Contrast checker → · Palette generator →

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