#4B7B16#4B7B16

#4B7B16 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.9% C 0.137 H 132.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4B7B16
RGBrgb(75, 123, 22)
HSLhsl(89, 70%, 28%)
HSVhsv(89, 82%, 48%)
CMYKcmyk(39%, 0%, 82.1%, 51.8%)
CIE-LABlab(46.60, -32.79, 45.84)
CIE-LCHlch(46.60, 56.36, 125.58°)
OKLaboklab(52.87% -0.0927 0.1012)
OKLCHoklch(52.87% 0.137 132.5)
XYZxyz(10.1293, 15.7192, 3.2593)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7B16 #46167B
analogous
#7B7816 #4B7B16 #187B16
triadic
#4B7B16 #164B7B #7B164B
tetradic
#4B7B16 #167B78 #46167B #7B1618
square
#4B7B16 #167B78 #46167B #7B1618
split-complementary
#4B7B16 #16187B #78167B
monochromatic
#101A05 #2B470D #4B7B16 #6BAF1F #8ADA31

Accessibility & contrast

On white

5.07
#4B7B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4B7B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7B16
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7B16#FFFFFF#000000##FFFFFF
##4B7B161.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#4C7668
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4b7b16;
/* rgb */ color: rgb(75, 123, 22);
/* oklch */ color: oklch(52.9% 0.137 132.5);
Tailwind
colors: {
  custom: {
    50: '#82a15d',
    500: '#4b7b16',
    950: '#000000',
  },
}
SCSS
$custom: #4b7b16;
$custom-light: #82a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7b16",
  "rgb": {
    "r": 75,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 88.515,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52871,
    "c": 0.13725,
    "h": 132.5
  },
  "luminance": 0.1572
}

Semantic roles & 50–950 ramp

primary
#4B7B16
secondary
#743DB0
accent
#3BEC90
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4B7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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