#4E751B#4E751B

#4E751B is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.5% C 0.125 H 130.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4E751B
RGBrgb(78, 117, 27)
HSLhsl(86, 63%, 28%)
HSVhsv(86, 77%, 46%)
CMYKcmyk(33.3%, 0%, 76.9%, 54.1%)
CIE-LABlab(44.83, -28.54, 42.47)
CIE-LCHlch(44.83, 51.16, 123.90°)
OKLaboklab(51.48% -0.081 0.0949)
OKLCHoklch(51.48% 0.125 130.5)
XYZxyz(9.7009, 14.4211, 3.3091)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E751B #421B75
analogous
#756F1B #4E751B #21751B
triadic
#4E751B #1B4E75 #751B4E
tetradic
#4E751B #1B756F #421B75 #751B21
square
#4E751B #1B756F #421B75 #751B21
split-complementary
#4E751B #1B2175 #6F1B75
monochromatic
#111906 #2D4310 #4E751B #6FA726 #8FD139

Accessibility & contrast

On white

5.41
#4E751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4E751B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E751B
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E751B#FFFFFF#000000##FFFFFF
##4E751B1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C09
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#507064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e751b;
/* rgb */ color: rgb(78, 117, 27);
/* oklch */ color: oklch(51.5% 0.125 130.5);
Tailwind
colors: {
  custom: {
    50: '#839d5e',
    500: '#4e751b',
    950: '#000000',
  },
}
SCSS
$custom: #4e751b;
$custom-light: #839d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e751b",
  "rgb": {
    "r": 78,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 86,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51478,
    "c": 0.12479,
    "h": 130.5
  },
  "luminance": 0.14421
}

Semantic roles & 50–950 ramp

primary
#4E751B
secondary
#6F42A9
accent
#42E689
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E751B

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

Preview Lab → · Contrast checker → · Palette generator →

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