#4B7D14#4B7D14

#4B7D14 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.141 H 132.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4B7D14
RGBrgb(75, 125, 20)
HSLhsl(89, 72%, 28%)
HSVhsv(89, 84%, 49%)
CMYKcmyk(40%, 0%, 84%, 51%)
CIE-LABlab(47.25, -33.79, 47.05)
CIE-LCHlch(47.25, 57.92, 125.69°)
OKLaboklab(53.4% -0.0955 0.1034)
OKLCHoklch(53.4% 0.141 132.7)
XYZxyz(10.3614, 16.2131, 3.2452)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7D14 #46147D
analogous
#7D7A14 #4B7D14 #177D14
triadic
#4B7D14 #144B7D #7D144B
tetradic
#4B7D14 #147D7A #46147D #7D1417
square
#4B7D14 #147D7A #46147D #7D1417
split-complementary
#4B7D14 #14177D #7A147D
monochromatic
#101A04 #2B480C #4B7D14 #6BB21C #8ADE2E

Accessibility & contrast

On white

4.95
#4B7D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4B7D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7D14
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7D14#FFFFFF#000000##FFFFFF
##4B7D141.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#4C786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4b7d14;
/* rgb */ color: rgb(75, 125, 20);
/* oklch */ color: oklch(53.4% 0.141 132.7);
Tailwind
colors: {
  custom: {
    50: '#82a35c',
    500: '#4b7d14',
    950: '#000000',
  },
}
SCSS
$custom: #4b7d14;
$custom-light: #82a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7d14",
  "rgb": {
    "r": 75,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 88.571,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53399,
    "c": 0.14079,
    "h": 132.7
  },
  "luminance": 0.16214
}

Semantic roles & 50–950 ramp

primary
#4B7D14
secondary
#743AB2
accent
#39EF90
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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