#4B7E17#4B7E17

#4B7E17 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.7% C 0.141 H 133.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4B7E17
RGBrgb(75, 126, 23)
HSLhsl(90, 69%, 29%)
HSVhsv(90, 82%, 49%)
CMYKcmyk(40.5%, 0%, 81.7%, 50.6%)
CIE-LABlab(47.60, -34.08, 46.44)
CIE-LCHlch(47.60, 57.60, 126.27°)
OKLaboklab(53.69% -0.0961 0.1026)
OKLCHoklch(53.69% 0.141 133.1)
XYZxyz(10.5170, 16.4789, 3.4371)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7E17 #4A177E
analogous
#7E7E17 #4B7E17 #177E17
triadic
#4B7E17 #174B7E #7E174B
tetradic
#4B7E17 #177E7E #4A177E #7E1717
square
#4B7E17 #177E7E #4A177E #7E1717
split-complementary
#4B7E17 #17177E #7E177E
monochromatic
#0F1A05 #2C4A0E #4B7E17 #6AB220 #89DA35

Accessibility & contrast

On white

4.89
#4B7E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#4B7E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7E17
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7E17#FFFFFF#000000##FFFFFF
##4B7E171.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7D6F23
Tritanopia (blue-blind)
#4B796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4b7e17;
/* rgb */ color: rgb(75, 126, 23);
/* oklch */ color: oklch(53.7% 0.141 133.1);
Tailwind
colors: {
  custom: {
    50: '#82a45e',
    500: '#4b7e17',
    950: '#000000',
  },
}
SCSS
$custom: #4b7e17;
$custom-light: #82a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7e17",
  "rgb": {
    "r": 75,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 89.709,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53685,
    "c": 0.14061,
    "h": 133.1
  },
  "luminance": 0.16479
}

Semantic roles & 50–950 ramp

primary
#4B7E17
secondary
#783EB3
accent
#3CEC93
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B7E17

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

Preview Lab → · Contrast checker → · Palette generator →

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