#4B7F15#4B7F15

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

Color values

HEX#4B7F15
RGBrgb(75, 127, 21)
HSLhsl(89, 72%, 29%)
HSVhsv(89, 83%, 50%)
CMYKcmyk(40.9%, 0%, 83.5%, 50.2%)
CIE-LABlab(47.92, -34.63, 47.35)
CIE-LCHlch(47.92, 58.66, 126.18°)
OKLaboklab(53.94% -0.0977 0.1042)
OKLCHoklch(53.94% 0.143 133.2)
XYZxyz(10.6262, 16.7282, 3.3783)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7F15 #49157F
analogous
#7F7E15 #4B7F15 #167F15
triadic
#4B7F15 #154B7F #7F154B
tetradic
#4B7F15 #157F7E #49157F #7F1516
square
#4B7F15 #157F7E #49157F #7F1516
split-complementary
#4B7F15 #15167F #7E157F
monochromatic
#101A04 #2C4A0C #4B7F15 #6AB41E #89DD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B7F15#FFFFFF#000000##FFFFFF
##4B7F151.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)
#847400
Deuteranopia (green-blind)
#7D7021
Tritanopia (blue-blind)
#4B7A6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4b7f15;
/* rgb */ color: rgb(75, 127, 21);
/* oklch */ color: oklch(53.9% 0.143 133.2);
Tailwind
colors: {
  custom: {
    50: '#82a45d',
    500: '#4b7f15',
    950: '#000000',
  },
}
SCSS
$custom: #4b7f15;
$custom-light: #82a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7f15",
  "rgb": {
    "r": 75,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 89.434,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53943,
    "c": 0.14288,
    "h": 133.2
  },
  "luminance": 0.16729
}

Semantic roles & 50–950 ramp

primary
#4B7F15
secondary
#773CB4
accent
#39EE92
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B7F15

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

Preview Lab → · Contrast checker → · Palette generator →

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