#4B8022#4B8022

#4B8022 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.3% C 0.137 H 134.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4B8022
RGBrgb(75, 128, 34)
HSLhsl(94, 58%, 32%)
HSVhsv(94, 73%, 50%)
CMYKcmyk(41.4%, 0%, 73.4%, 49.8%)
CIE-LABlab(48.32, -34.26, 43.17)
CIE-LCHlch(48.32, 55.11, 128.44°)
OKLaboklab(54.3% -0.0958 0.0975)
OKLCHoklch(54.3% 0.137 134.5)
XYZxyz(10.9093, 17.0491, 4.2291)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8022 #572280
analogous
#7A8022 #4B8022 #228028
triadic
#4B8022 #224B80 #80224B
tetradic
#4B8022 #227A80 #572280 #802822
square
#4B8022 #227A80 #572280 #802822
split-complementary
#4B8022 #282280 #80227A
monochromatic
#121F08 #2F5015 #4B8022 #67B02F #86D04D

Accessibility & contrast

On white

4.76
#4B8022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#4B8022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B8022
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8022#FFFFFF#000000##FFFFFF
##4B80221.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857512
Deuteranopia (green-blind)
#7E712B
Tritanopia (blue-blind)
#4A7B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4b8022;
/* rgb */ color: rgb(75, 128, 34);
/* oklch */ color: oklch(54.3% 0.137 134.5);
Tailwind
colors: {
  custom: {
    50: '#82a563',
    500: '#4b8022',
    950: '#000000',
  },
}
SCSS
$custom: #4b8022;
$custom-light: #82a563;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8022",
  "rgb": {
    "r": 75,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 93.83,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.543,
    "c": 0.1367,
    "h": 134.5
  },
  "luminance": 0.1705
}

Semantic roles & 50–950 ramp

primary
#4B8022
secondary
#854BB2
accent
#47E19E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4B8022

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

Preview Lab → · Contrast checker → · Palette generator →

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