#4B7D19#4B7D19

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

Color values

HEX#4B7D19
RGBrgb(75, 125, 25)
HSLhsl(90, 67%, 29%)
HSVhsv(90, 80%, 49%)
CMYKcmyk(40%, 0%, 80%, 51%)
CIE-LABlab(47.28, -33.52, 45.48)
CIE-LCHlch(47.28, 56.50, 126.39°)
OKLaboklab(53.43% -0.0945 0.101)
OKLCHoklch(53.43% 0.138 133.1)
XYZxyz(10.4106, 16.2328, 3.5042)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7D19 #4B197D
analogous
#7D7D19 #4B7D19 #197D19
triadic
#4B7D19 #194B7D #7D194B
tetradic
#4B7D19 #197D7D #4B197D #7D1919
square
#4B7D19 #197D7D #4B197D #7D1919
split-complementary
#4B7D19 #19197D #7D197D
monochromatic
#0F1A05 #2C4A0F #4B7D19 #6AB023 #88D739

Accessibility & contrast

On white

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

On black

4.25
#4B7D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4B7D19#FFFFFF#000000##FFFFFF
##4B7D191.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#4B786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4b7d19;
/* rgb */ color: rgb(75, 125, 25);
/* oklch */ color: oklch(53.4% 0.138 133.1);
Tailwind
colors: {
  custom: {
    50: '#82a35f',
    500: '#4b7d19',
    950: '#000000',
  },
}
SCSS
$custom: #4b7d19;
$custom-light: #82a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7d19",
  "rgb": {
    "r": 75,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 90,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53428,
    "c": 0.13827,
    "h": 133.1
  },
  "luminance": 0.16233
}

Semantic roles & 50–950 ramp

primary
#4B7D19
secondary
#7940B1
accent
#3EEA94
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B7D19

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

Preview Lab → · Contrast checker → · Palette generator →

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