#4B7E14#4B7E14

#4B7E14 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.7% C 0.142 H 132.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4B7E14
RGBrgb(75, 126, 20)
HSLhsl(89, 73%, 29%)
HSVhsv(89, 84%, 49%)
CMYKcmyk(40.5%, 0%, 84.1%, 50.6%)
CIE-LABlab(47.58, -34.23, 47.35)
CIE-LCHlch(47.58, 58.43, 125.87°)
OKLaboklab(53.67% -0.0967 0.1041)
OKLCHoklch(53.67% 0.142 132.9)
XYZxyz(10.4886, 16.4676, 3.2876)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7E14 #47147E
analogous
#7E7C14 #4B7E14 #167E14
triadic
#4B7E14 #144B7E #7E144B
tetradic
#4B7E14 #147E7C #47147E #7E1416
square
#4B7E14 #147E7C #47147E #7E1416
split-complementary
#4B7E14 #14167E #7C147E
monochromatic
#101A04 #2C490C #4B7E14 #6AB31C #8ADE2E

Accessibility & contrast

On white

4.89
#4B7E14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4B7E14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7E14
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7E14#FFFFFF#000000##FFFFFF
##4B7E141.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847300
Deuteranopia (green-blind)
#7D6F21
Tritanopia (blue-blind)
#4B796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4b7e14;
/* rgb */ color: rgb(75, 126, 20);
/* oklch */ color: oklch(53.7% 0.142 132.9);
Tailwind
colors: {
  custom: {
    50: '#82a45d',
    500: '#4b7e14',
    950: '#000000',
  },
}
SCSS
$custom: #4b7e14;
$custom-light: #82a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7e14",
  "rgb": {
    "r": 75,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 88.868,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53668,
    "c": 0.14207,
    "h": 132.9
  },
  "luminance": 0.16468
}

Semantic roles & 50–950 ramp

primary
#4B7E14
secondary
#753AB3
accent
#38EF90
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B7E14

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

Preview Lab → · Contrast checker → · Palette generator →

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