#4B8013#4B8013

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

Color values

HEX#4B8013
RGBrgb(75, 128, 19)
HSLhsl(89, 74%, 29%)
HSVhsv(89, 85%, 50%)
CMYKcmyk(41.4%, 0%, 85.2%, 49.8%)
CIE-LABlab(48.24, -35.16, 48.22)
CIE-LCHlch(48.24, 59.68, 126.10°)
OKLaboklab(54.2% -0.0993 0.1058)
OKLCHoklch(54.2% 0.145 133.2)
XYZxyz(10.7382, 16.9807, 3.3278)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8013 #481380
analogous
#807F13 #4B8013 #158013
triadic
#4B8013 #134B80 #80134B
tetradic
#4B8013 #13807F #481380 #801315
square
#4B8013 #13807F #481380 #801315
split-complementary
#4B8013 #131580 #7F1380
monochromatic
#101B04 #2C4B0B #4B8013 #6AB51B #89E02D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B8013#FFFFFF#000000##FFFFFF
##4B80131.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)
#7E7120
Tritanopia (blue-blind)
#4B7B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4b8013;
/* rgb */ color: rgb(75, 128, 19);
/* oklch */ color: oklch(54.2% 0.145 133.2);
Tailwind
colors: {
  custom: {
    50: '#83a55c',
    500: '#4b8013',
    950: '#000000',
  },
}
SCSS
$custom: #4b8013;
$custom-light: #83a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8013",
  "rgb": {
    "r": 75,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 89.174,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54202,
    "c": 0.14505,
    "h": 133.2
  },
  "luminance": 0.16981
}

Semantic roles & 50–950 ramp

primary
#4B8013
secondary
#7639B5
accent
#37F191
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B8013

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

Preview Lab → · Contrast checker → · Palette generator →

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