#4B7F16#4B7F16

#4B7F16 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.142 H 133.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4B7F16
RGBrgb(75, 127, 22)
HSLhsl(90, 70%, 29%)
HSVhsv(90, 83%, 50%)
CMYKcmyk(40.9%, 0%, 82.7%, 50.2%)
CIE-LABlab(47.92, -34.58, 47.05)
CIE-LCHlch(47.92, 58.39, 126.31°)
OKLaboklab(53.95% -0.0975 0.1038)
OKLCHoklch(53.95% 0.142 133.2)
XYZxyz(10.6357, 16.7320, 3.4281)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7F16 #4A167F
analogous
#7F7F16 #4B7F16 #177F16
triadic
#4B7F16 #164B7F #7F164B
tetradic
#4B7F16 #167F7F #4A167F #7F1617
square
#4B7F16 #167F7F #4A167F #7F1617
split-complementary
#4B7F16 #16177F #7F167F
monochromatic
#0F1A05 #2C4B0D #4B7F16 #6AB31F #89DC34

Accessibility & contrast

On white

4.83
#4B7F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#4B7F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7F16
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7F16#FFFFFF#000000##FFFFFF
##4B7F161.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#4B7A6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4b7f16;
/* rgb */ color: rgb(75, 127, 22);
/* oklch */ color: oklch(53.9% 0.142 133.2);
Tailwind
colors: {
  custom: {
    50: '#82a45e',
    500: '#4b7f16',
    950: '#000000',
  },
}
SCSS
$custom: #4b7f16;
$custom-light: #82a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7f16",
  "rgb": {
    "r": 75,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 89.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53948,
    "c": 0.1424,
    "h": 133.2
  },
  "luminance": 0.16733
}

Semantic roles & 50–950 ramp

primary
#4B7F16
secondary
#783DB4
accent
#3BED93
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B7F16

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

Preview Lab → · Contrast checker → · Palette generator →

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