#4B8023#4B8023

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

Color values

HEX#4B8023
RGBrgb(75, 128, 35)
HSLhsl(94, 57%, 32%)
HSVhsv(94, 73%, 50%)
CMYKcmyk(41.4%, 0%, 72.7%, 49.8%)
CIE-LABlab(48.33, -34.18, 42.77)
CIE-LCHlch(48.33, 54.75, 128.63°)
OKLaboklab(54.31% -0.0955 0.0968)
OKLCHoklch(54.31% 0.136 134.6)
XYZxyz(10.9240, 17.0550, 4.3061)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8023 #582380
analogous
#798023 #4B8023 #23802A
triadic
#4B8023 #234B80 #80234B
tetradic
#4B8023 #237980 #582380 #802A23
square
#4B8023 #237980 #582380 #802A23
split-complementary
#4B8023 #2A2380 #802379
monochromatic
#132009 #2F5016 #4B8023 #67B030 #86CF4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B8023#FFFFFF#000000##FFFFFF
##4B80231.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)
#857514
Deuteranopia (green-blind)
#7E712C
Tritanopia (blue-blind)
#4A7B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4b8023;
/* rgb */ color: rgb(75, 128, 35);
/* oklch */ color: oklch(54.3% 0.136 134.6);
Tailwind
colors: {
  custom: {
    50: '#82a564',
    500: '#4b8023',
    950: '#000000',
  },
}
SCSS
$custom: #4b8023;
$custom-light: #82a564;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8023",
  "rgb": {
    "r": 75,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 94.194,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54308,
    "c": 0.13601,
    "h": 134.6
  },
  "luminance": 0.17056
}

Semantic roles & 50–950 ramp

primary
#4B8023
secondary
#874DB2
accent
#47E09F
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4B8023

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

Preview Lab → · Contrast checker → · Palette generator →

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