#4B7D1C#4B7D1C

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

Color values

HEX#4B7D1C
RGBrgb(75, 125, 28)
HSLhsl(91, 63%, 30%)
HSVhsv(91, 78%, 49%)
CMYKcmyk(40%, 0%, 77.6%, 51%)
CIE-LABlab(47.30, -33.34, 44.44)
CIE-LCHlch(47.30, 55.56, 126.87°)
OKLaboklab(53.45% -0.0937 0.0993)
OKLCHoklch(53.45% 0.137 133.4)
XYZxyz(10.4447, 16.2464, 3.6839)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7D1C #4E1C7D
analogous
#7B7D1C #4B7D1C #1C7D1E
triadic
#4B7D1C #1C4B7D #7D1C4B
tetradic
#4B7D1C #1C7B7D #4E1C7D #7D1E1C
square
#4B7D1C #1C7B7D #4E1C7D #7D1E1C
split-complementary
#4B7D1C #1E1C7D #7D1C7B
monochromatic
#0F1906 #2D4B11 #4B7D1C #69AF27 #87D43F

Accessibility & contrast

On white

4.94
#4B7D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4B7D1C
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7D1C#FFFFFF#000000##FFFFFF
##4B7D1C1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827307
Deuteranopia (green-blind)
#7B6F26
Tritanopia (blue-blind)
#4B786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4b7d1c;
/* rgb */ color: rgb(75, 125, 28);
/* oklch */ color: oklch(53.4% 0.137 133.4);
Tailwind
colors: {
  custom: {
    50: '#82a360',
    500: '#4b7d1c',
    950: '#000000',
  },
}
SCSS
$custom: #4b7d1c;
$custom-light: #82a360;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7d1c",
  "rgb": {
    "r": 75,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 90.928,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.53448,
    "c": 0.13653,
    "h": 133.4
  },
  "luminance": 0.16247
}

Semantic roles & 50–950 ramp

primary
#4B7D1C
secondary
#7C44B1
accent
#41E696
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B7D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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