#4B7C16#4B7C16

#4B7C16 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.1% C 0.139 H 132.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4B7C16
RGBrgb(75, 124, 22)
HSLhsl(89, 70%, 29%)
HSVhsv(89, 82%, 49%)
CMYKcmyk(39.5%, 0%, 82.3%, 51.4%)
CIE-LABlab(46.93, -33.24, 46.14)
CIE-LCHlch(46.93, 56.87, 125.77°)
OKLaboklab(53.14% -0.0939 0.1019)
OKLCHoklch(53.14% 0.139 132.7)
XYZxyz(10.2540, 15.9686, 3.3009)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7C16 #47167C
analogous
#7C7A16 #4B7C16 #187C16
triadic
#4B7C16 #164B7C #7C164B
tetradic
#4B7C16 #167C7A #47167C #7C1618
square
#4B7C16 #167C7A #47167C #7C1618
split-complementary
#4B7C16 #16187C #7A167C
monochromatic
#101A05 #2C480D #4B7C16 #6AB01F #8ADB32

Accessibility & contrast

On white

5.01
#4B7C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4B7C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7C16
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7C16#FFFFFF#000000##FFFFFF
##4B7C161.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#4C7769
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4b7c16;
/* rgb */ color: rgb(75, 124, 22);
/* oklch */ color: oklch(53.1% 0.139 132.7);
Tailwind
colors: {
  custom: {
    50: '#82a25d',
    500: '#4b7c16',
    950: '#000000',
  },
}
SCSS
$custom: #4b7c16;
$custom-light: #82a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7c16",
  "rgb": {
    "r": 75,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 88.824,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5314,
    "c": 0.13854,
    "h": 132.7
  },
  "luminance": 0.15969
}

Semantic roles & 50–950 ramp

primary
#4B7C16
secondary
#753DB1
accent
#3BED90
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B7C16

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

Preview Lab → · Contrast checker → · Palette generator →

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