#4B8522#4B8522

#4B8522 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.6% C 0.143 H 135.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4B8522
RGBrgb(75, 133, 34)
HSLhsl(95, 59%, 33%)
HSVhsv(95, 74%, 52%)
CMYKcmyk(43.6%, 0%, 74.4%, 47.8%)
CIE-LABlab(49.96, -36.46, 44.83)
CIE-LCHlch(49.96, 57.78, 129.12°)
OKLaboklab(55.64% -0.1017 0.101)
OKLCHoklch(55.64% 0.143 135.2)
XYZxyz(11.5776, 18.3858, 4.4518)
Luminance0.1839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8522 #5C2285
analogous
#7C8522 #4B8522 #22852B
triadic
#4B8522 #224B85 #85224B
tetradic
#4B8522 #227C85 #5C2285 #852B22
square
#4B8522 #227C85 #5C2285 #852B22
split-complementary
#4B8522 #2B2285 #85227C
monochromatic
#142409 #305416 #4B8522 #66B62E #85D24F

Accessibility & contrast

On white

4.49
#4B8522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4B8522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8522
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8522#FFFFFF#000000##000000
##4B85221.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A10
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#498072
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4b8522;
/* rgb */ color: rgb(75, 133, 34);
/* oklch */ color: oklch(55.6% 0.143 135.2);
Tailwind
colors: {
  custom: {
    50: '#83a964',
    500: '#4b8522',
    950: '#000000',
  },
}
SCSS
$custom: #4b8522;
$custom-light: #83a964;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8522",
  "rgb": {
    "r": 75,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 95.152,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55642,
    "c": 0.14335,
    "h": 135.2
  },
  "luminance": 0.18386
}

Semantic roles & 50–950 ramp

primary
#4B8522
secondary
#8A4DB6
accent
#45E2A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4B8522

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

Preview Lab → · Contrast checker → · Palette generator →

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