#4B7F14#4B7F14

#4B7F14 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.143 H 133.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4B7F14
RGBrgb(75, 127, 20)
HSLhsl(89, 73%, 29%)
HSVhsv(89, 84%, 50%)
CMYKcmyk(40.9%, 0%, 84.3%, 50.2%)
CIE-LABlab(47.91, -34.68, 47.64)
CIE-LCHlch(47.91, 58.93, 126.05°)
OKLaboklab(53.94% -0.0979 0.1047)
OKLCHoklch(53.94% 0.143 133.1)
XYZxyz(10.6171, 16.7246, 3.3304)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7F14 #48147F
analogous
#7F7E14 #4B7F14 #167F14
triadic
#4B7F14 #144B7F #7F144B
tetradic
#4B7F14 #147F7E #48147F #7F1416
square
#4B7F14 #147F7E #48147F #7F1416
split-complementary
#4B7F14 #14167F #7E147F
monochromatic
#101A04 #2C4A0C #4B7F14 #6AB41C #89DE2F

Accessibility & contrast

On white

4.83
#4B7F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#4B7F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7F14
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7F14#FFFFFF#000000##FFFFFF
##4B7F141.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7E7021
Tritanopia (blue-blind)
#4B7A6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4b7f14;
/* rgb */ color: rgb(75, 127, 20);
/* oklch */ color: oklch(53.9% 0.143 133.1);
Tailwind
colors: {
  custom: {
    50: '#83a45d',
    500: '#4b7f14',
    950: '#000000',
  },
}
SCSS
$custom: #4b7f14;
$custom-light: #83a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7f14",
  "rgb": {
    "r": 75,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 89.159,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53938,
    "c": 0.14334,
    "h": 133.1
  },
  "luminance": 0.16725
}

Semantic roles & 50–950 ramp

primary
#4B7F14
secondary
#763BB4
accent
#38EF91
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B7F14

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

Preview Lab → · Contrast checker → · Palette generator →

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