#4B7D18#4B7D18

#4B7D18 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.139 H 133.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4B7D18
RGBrgb(75, 125, 24)
HSLhsl(90, 68%, 29%)
HSVhsv(90, 81%, 49%)
CMYKcmyk(40%, 0%, 80.8%, 51%)
CIE-LABlab(47.27, -33.58, 45.81)
CIE-LCHlch(47.27, 56.80, 126.24°)
OKLaboklab(53.42% -0.0947 0.1015)
OKLCHoklch(53.42% 0.139 133)
XYZxyz(10.4000, 16.2285, 3.4484)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7D18 #4A187D
analogous
#7D7D18 #4B7D18 #197D18
triadic
#4B7D18 #184B7D #7D184B
tetradic
#4B7D18 #187D7D #4A187D #7D1819
square
#4B7D18 #187D7D #4A187D #7D1819
split-complementary
#4B7D18 #18197D #7D187D
monochromatic
#0F1A05 #2C4A0E #4B7D18 #6AB022 #89D937

Accessibility & contrast

On white

4.95
#4B7D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#4B7D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7D18
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7D18#FFFFFF#000000##FFFFFF
##4B7D181.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#4B786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4b7d18;
/* rgb */ color: rgb(75, 125, 24);
/* oklch */ color: oklch(53.4% 0.139 133.0);
Tailwind
colors: {
  custom: {
    50: '#82a35e',
    500: '#4b7d18',
    950: '#000000',
  },
}
SCSS
$custom: #4b7d18;
$custom-light: #82a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7d18",
  "rgb": {
    "r": 75,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 89.703,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53422,
    "c": 0.1388,
    "h": 133
  },
  "luminance": 0.16229
}

Semantic roles & 50–950 ramp

primary
#4B7D18
secondary
#783FB2
accent
#3DEB93
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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