#4E7B27#4E7B27

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

Color values

HEX#4E7B27
RGBrgb(78, 123, 39)
HSLhsl(92, 52%, 32%)
HSVhsv(92, 68%, 48%)
CMYKcmyk(36.6%, 0%, 68.3%, 51.8%)
CIE-LABlab(46.88, -30.45, 39.60)
CIE-LCHlch(46.88, 49.96, 127.56°)
OKLaboklab(53.18% -0.0852 0.0907)
OKLCHoklch(53.18% 0.124 133.2)
XYZxyz(10.5909, 15.9317, 4.4362)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7B27 #54277B
analogous
#787B27 #4E7B27 #277B2A
triadic
#4E7B27 #274E7B #7B274E
tetradic
#4E7B27 #27787B #54277B #7B2A27
square
#4E7B27 #27787B #54277B #7B2A27
split-complementary
#4E7B27 #2A277B #7B2778
monochromatic
#131E0A #314D18 #4E7B27 #6BA936 #8AC954

Accessibility & contrast

On white

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

On black

4.19
#4E7B27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E7B27#FFFFFF#000000##FFFFFF
##4E7B271.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711C
Deuteranopia (green-blind)
#7A6E2E
Tritanopia (blue-blind)
#4E766A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7b27;
/* rgb */ color: rgb(78, 123, 39);
/* oklch */ color: oklch(53.2% 0.124 133.2);
Tailwind
colors: {
  custom: {
    50: '#83a166',
    500: '#4e7b27',
    950: '#000000',
  },
}
SCSS
$custom: #4e7b27;
$custom-light: #83a166;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7b27",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 39
  },
  "hsl": {
    "h": 92.143,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53182,
    "c": 0.12447,
    "h": 133.2
  },
  "luminance": 0.15932
}

Semantic roles & 50–950 ramp

primary
#4E7B27
secondary
#8251AD
accent
#4CDB99
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4E7B27

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

Preview Lab → · Contrast checker → · Palette generator →

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