#4B7C19#4B7C19

#4B7C19 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.2% C 0.137 H 132.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4B7C19
RGBrgb(75, 124, 25)
HSLhsl(90, 66%, 29%)
HSVhsv(90, 80%, 49%)
CMYKcmyk(39.5%, 0%, 79.8%, 51.4%)
CIE-LABlab(46.95, -33.07, 45.17)
CIE-LCHlch(46.95, 55.98, 126.21°)
OKLaboklab(53.16% -0.0933 0.1003)
OKLCHoklch(53.16% 0.137 132.9)
XYZxyz(10.2846, 15.9809, 3.4622)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7C19 #4A197C
analogous
#7C7C19 #4B7C19 #1A7C19
triadic
#4B7C19 #194B7C #7C194B
tetradic
#4B7C19 #197C7C #4A197C #7C191A
square
#4B7C19 #197C7C #4A197C #7C191A
split-complementary
#4B7C19 #191A7C #7C197C
monochromatic
#0F1905 #2C490F #4B7C19 #6AAF23 #89D738

Accessibility & contrast

On white

5.00
#4B7C19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4B7C19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7C19
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7C19#FFFFFF#000000##FFFFFF
##4B7C191.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817201
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#4B7769
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4b7c19;
/* rgb */ color: rgb(75, 124, 25);
/* oklch */ color: oklch(53.2% 0.137 132.9);
Tailwind
colors: {
  custom: {
    50: '#82a25e',
    500: '#4b7c19',
    950: '#000000',
  },
}
SCSS
$custom: #4b7c19;
$custom-light: #82a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7c19",
  "rgb": {
    "r": 75,
    "g": 124,
    "b": 25
  },
  "hsl": {
    "h": 89.697,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53159,
    "c": 0.13696,
    "h": 132.9
  },
  "luminance": 0.15981
}

Semantic roles & 50–950 ramp

primary
#4B7C19
secondary
#7840B0
accent
#3EE993
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B7C19

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

Preview Lab → · Contrast checker → · Palette generator →

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