#4B7628#4B7628

#4B7628 is a mid, moderate yellow-green. Relative luminance 0.146; OKLCH L 51.7% C 0.118 H 133.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4B7628
RGBrgb(75, 118, 40)
HSLhsl(93, 49%, 31%)
HSVhsv(93, 66%, 46%)
CMYKcmyk(36.4%, 0%, 66.1%, 53.7%)
CIE-LABlab(45.09, -29.15, 37.16)
CIE-LCHlch(45.09, 47.23, 128.12°)
OKLaboklab(51.68% -0.0814 0.0857)
OKLCHoklch(51.68% 0.118 133.5)
XYZxyz(9.7629, 14.6055, 4.3118)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7628 #532876
analogous
#727628 #4B7628 #28762C
triadic
#4B7628 #284B76 #76284B
tetradic
#4B7628 #287276 #532876 #762C28
square
#4B7628 #287276 #532876 #762C28
split-complementary
#4B7628 #2C2876 #762872
monochromatic
#111B09 #2E4819 #4B7628 #68A437 #86C554

Accessibility & contrast

On white

5.36
#4B7628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4B7628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7628
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7628#FFFFFF#000000##FFFFFF
##4B76281.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1E
Deuteranopia (green-blind)
#75692E
Tritanopia (blue-blind)
#4B7166
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4b7628;
/* rgb */ color: rgb(75, 118, 40);
/* oklch */ color: oklch(51.7% 0.118 133.5);
Tailwind
colors: {
  custom: {
    50: '#819e66',
    500: '#4b7628',
    950: '#000000',
  },
}
SCSS
$custom: #4b7628;
$custom-light: #819e66;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7628",
  "rgb": {
    "r": 75,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 93.077,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51676,
    "c": 0.1182,
    "h": 133.5
  },
  "luminance": 0.14606
}

Semantic roles & 50–950 ramp

primary
#4B7628
secondary
#8152A8
accent
#4FD99B
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4B7628

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

Preview Lab → · Contrast checker → · Palette generator →

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