#4B7D15#4B7D15

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

Color values

HEX#4B7D15
RGBrgb(75, 125, 21)
HSLhsl(89, 71%, 29%)
HSVhsv(89, 83%, 49%)
CMYKcmyk(40%, 0%, 83.2%, 51%)
CIE-LABlab(47.26, -33.74, 46.75)
CIE-LCHlch(47.26, 57.66, 125.82°)
OKLaboklab(53.4% -0.0953 0.103)
OKLCHoklch(53.4% 0.14 132.8)
XYZxyz(10.3705, 16.2167, 3.2930)
Luminance0.1622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7D15 #47157D
analogous
#7D7B15 #4B7D15 #177D15
triadic
#4B7D15 #154B7D #7D154B
tetradic
#4B7D15 #157D7B #47157D #7D1517
square
#4B7D15 #157D7B #47157D #7D1517
split-complementary
#4B7D15 #15177D #7B157D
monochromatic
#101A04 #2C490C #4B7D15 #6AB11E #8ADC30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B7D15#FFFFFF#000000##FFFFFF
##4B7D151.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)
#827300
Deuteranopia (green-blind)
#7C6F21
Tritanopia (blue-blind)
#4B786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4b7d15;
/* rgb */ color: rgb(75, 125, 21);
/* oklch */ color: oklch(53.4% 0.140 132.8);
Tailwind
colors: {
  custom: {
    50: '#82a35d',
    500: '#4b7d15',
    950: '#000000',
  },
}
SCSS
$custom: #4b7d15;
$custom-light: #82a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7d15",
  "rgb": {
    "r": 75,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 88.846,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53404,
    "c": 0.14032,
    "h": 132.8
  },
  "luminance": 0.16217
}

Semantic roles & 50–950 ramp

primary
#4B7D15
secondary
#753CB2
accent
#3AEE90
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B7D15

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

Preview Lab → · Contrast checker → · Palette generator →

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