#4B7019#4B7019

#4B7019 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.9% C 0.121 H 130.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4B7019
RGBrgb(75, 112, 25)
HSLhsl(86, 64%, 27%)
HSVhsv(86, 78%, 44%)
CMYKcmyk(33%, 0%, 77.7%, 56.1%)
CIE-LABlab(42.99, -27.48, 41.37)
CIE-LCHlch(42.99, 49.66, 123.60°)
OKLaboklab(49.93% -0.0781 0.0923)
OKLCHoklch(49.93% 0.121 130.2)
XYZxyz(8.8712, 13.1541, 2.9911)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7019 #3E1970
analogous
#706A19 #4B7019 #207019
triadic
#4B7019 #194B70 #70194B
tetradic
#4B7019 #19706A #3E1970 #701920
square
#4B7019 #19706A #3E1970 #701920
split-complementary
#4B7019 #192070 #6A1970
monochromatic
#111906 #293E0E #4B7019 #6DA224 #8ED132

Accessibility & contrast

On white

5.78
#4B7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4B7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7019
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7019#FFFFFF#000000##FFFFFF
##4B70191.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756707
Deuteranopia (green-blind)
#706521
Tritanopia (blue-blind)
#4D6B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b7019;
/* rgb */ color: rgb(75, 112, 25);
/* oklch */ color: oklch(49.9% 0.121 130.2);
Tailwind
colors: {
  custom: {
    50: '#81995d',
    500: '#4b7019',
    950: '#000000',
  },
}
SCSS
$custom: #4b7019;
$custom-light: #81995d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7019",
  "rgb": {
    "r": 75,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 85.517,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49931,
    "c": 0.12094,
    "h": 130.2
  },
  "luminance": 0.13154
}

Semantic roles & 50–950 ramp

primary
#4B7019
secondary
#6B40A5
accent
#41E788
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7019

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

Preview Lab → · Contrast checker → · Palette generator →

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