#4B791D#4B791D

#4B791D is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.4% C 0.131 H 132.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4B791D
RGBrgb(75, 121, 29)
HSLhsl(90, 61%, 29%)
HSVhsv(90, 76%, 47%)
CMYKcmyk(38%, 0%, 76%, 52.5%)
CIE-LABlab(45.99, -31.45, 42.79)
CIE-LCHlch(45.99, 53.10, 126.32°)
OKLaboklab(52.38% -0.0886 0.0959)
OKLCHoklch(52.38% 0.131 132.7)
XYZxyz(9.9607, 15.2589, 3.5826)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B791D #4B1D79
analogous
#79791D #4B791D #1D791D
triadic
#4B791D #1D4B79 #791D4B
tetradic
#4B791D #1D7979 #4B1D79 #791D1D
square
#4B791D #1D7979 #4B1D79 #791D1D
split-complementary
#4B791D #1D1D79 #791D79
monochromatic
#0F1906 #2C4811 #4B791D #6AAA29 #88D13F

Accessibility & contrast

On white

5.18
#4B791D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#4B791D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B791D
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B791D#FFFFFF#000000##FFFFFF
##4B791D1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0B
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#4C7467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4b791d;
/* rgb */ color: rgb(75, 121, 29);
/* oklch */ color: oklch(52.4% 0.131 132.7);
Tailwind
colors: {
  custom: {
    50: '#81a060',
    500: '#4b791d',
    950: '#000000',
  },
}
SCSS
$custom: #4b791d;
$custom-light: #81a060;
$custom-dark: #000000;
JSON
{
  "hex": "#4b791d",
  "rgb": {
    "r": 75,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 90,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5238,
    "c": 0.13058,
    "h": 132.7
  },
  "luminance": 0.15259
}

Semantic roles & 50–950 ramp

primary
#4B791D
secondary
#7945AD
accent
#43E494
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B791D

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

Preview Lab → · Contrast checker → · Palette generator →

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