#4B8014#4B8014

#4B8014 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.2% C 0.145 H 133.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4B8014
RGBrgb(75, 128, 20)
HSLhsl(89, 73%, 29%)
HSVhsv(89, 84%, 50%)
CMYKcmyk(41.4%, 0%, 84.4%, 49.8%)
CIE-LABlab(48.24, -35.12, 47.94)
CIE-LCHlch(48.24, 59.43, 126.22°)
OKLaboklab(54.21% -0.0991 0.1053)
OKLCHoklch(54.21% 0.145 133.3)
XYZxyz(10.7469, 16.9842, 3.3737)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8014 #491480
analogous
#807F14 #4B8014 #158014
triadic
#4B8014 #144B80 #80144B
tetradic
#4B8014 #14807F #491480 #801415
square
#4B8014 #14807F #491480 #801415
split-complementary
#4B8014 #141580 #7F1480
monochromatic
#101A04 #2C4B0C #4B8014 #6AB51C #89DF30

Accessibility & contrast

On white

4.78
#4B8014 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4B8014 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B8014
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8014#FFFFFF#000000##FFFFFF
##4B80141.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7E7121
Tritanopia (blue-blind)
#4B7B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4b8014;
/* rgb */ color: rgb(75, 128, 20);
/* oklch */ color: oklch(54.2% 0.145 133.3);
Tailwind
colors: {
  custom: {
    50: '#83a55d',
    500: '#4b8014',
    950: '#000000',
  },
}
SCSS
$custom: #4b8014;
$custom-light: #83a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8014",
  "rgb": {
    "r": 75,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 89.444,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54207,
    "c": 0.14461,
    "h": 133.3
  },
  "luminance": 0.16985
}

Semantic roles & 50–950 ramp

primary
#4B8014
secondary
#773BB5
accent
#38F092
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B8014

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

Preview Lab → · Contrast checker → · Palette generator →

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