#4B7B1D#4B7B1D

#4B7B1D is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.9% C 0.133 H 133.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4B7B1D
RGBrgb(75, 123, 29)
HSLhsl(91, 62%, 30%)
HSVhsv(91, 76%, 48%)
CMYKcmyk(39%, 0%, 76.4%, 51.8%)
CIE-LABlab(46.64, -32.37, 43.44)
CIE-LCHlch(46.64, 54.17, 126.69°)
OKLaboklab(52.92% -0.0911 0.0973)
OKLCHoklch(52.92% 0.133 133.1)
XYZxyz(10.2062, 15.7500, 3.6645)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7B1D #4D1D7B
analogous
#7A7B1D #4B7B1D #1D7B1E
triadic
#4B7B1D #1D4B7B #7B1D4B
tetradic
#4B7B1D #1D7A7B #4D1D7B #7B1E1D
square
#4B7B1D #1D7A7B #4D1D7B #7B1E1D
split-complementary
#4B7B1D #1E1D7B #7B1D7A
monochromatic
#0F1906 #2D4911 #4B7B1D #69AD29 #88D240

Accessibility & contrast

On white

5.06
#4B7B1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4B7B1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7B1D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7B1D#FFFFFF#000000##FFFFFF
##4B7B1D1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710A
Deuteranopia (green-blind)
#7A6D26
Tritanopia (blue-blind)
#4B7669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4b7b1d;
/* rgb */ color: rgb(75, 123, 29);
/* oklch */ color: oklch(52.9% 0.133 133.1);
Tailwind
colors: {
  custom: {
    50: '#82a160',
    500: '#4b7b1d',
    950: '#000000',
  },
}
SCSS
$custom: #4b7b1d;
$custom-light: #82a160;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7b1d",
  "rgb": {
    "r": 75,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 90.638,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52917,
    "c": 0.13326,
    "h": 133.1
  },
  "luminance": 0.1575
}

Semantic roles & 50–950 ramp

primary
#4B7B1D
secondary
#7B45AF
accent
#43E596
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4B7B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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