#4B7A19#4B7A19

#4B7A19 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.6% C 0.134 H 132.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4B7A19
RGBrgb(75, 122, 25)
HSLhsl(89, 66%, 29%)
HSVhsv(89, 80%, 48%)
CMYKcmyk(38.5%, 0%, 79.5%, 52.2%)
CIE-LABlab(46.29, -32.17, 44.55)
CIE-LCHlch(46.29, 54.94, 125.83°)
OKLaboklab(52.62% -0.0908 0.099)
OKLCHoklch(52.62% 0.134 132.5)
XYZxyz(10.0365, 15.4847, 3.3795)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7A19 #48197A
analogous
#7A7919 #4B7A19 #1B7A19
triadic
#4B7A19 #194B7A #7A194B
tetradic
#4B7A19 #197A79 #48197A #7A191B
square
#4B7A19 #197A79 #48197A #7A191B
split-complementary
#4B7A19 #191B7A #79197A
monochromatic
#101905 #2C470F #4B7A19 #6AAD23 #89D637

Accessibility & contrast

On white

5.13
#4B7A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4B7A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7A19
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7A19#FFFFFF#000000##FFFFFF
##4B7A191.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7002
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#4C7568
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4b7a19;
/* rgb */ color: rgb(75, 122, 25);
/* oklch */ color: oklch(52.6% 0.134 132.5);
Tailwind
colors: {
  custom: {
    50: '#82a15e',
    500: '#4b7a19',
    950: '#000000',
  },
}
SCSS
$custom: #4b7a19;
$custom-light: #82a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7a19",
  "rgb": {
    "r": 75,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 89.072,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5262,
    "c": 0.13433,
    "h": 132.5
  },
  "luminance": 0.15485
}

Semantic roles & 50–950 ramp

primary
#4B7A19
secondary
#7640AF
accent
#3FE991
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4B7A19

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

Preview Lab → · Contrast checker → · Palette generator →

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