#4B7923#4B7923

#4B7923 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.4% C 0.126 H 133.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4B7923
RGBrgb(75, 121, 35)
HSLhsl(92, 55%, 31%)
HSVhsv(92, 71%, 47%)
CMYKcmyk(38%, 0%, 71.1%, 52.5%)
CIE-LABlab(46.03, -31.00, 40.40)
CIE-LCHlch(46.03, 50.92, 127.50°)
OKLaboklab(52.43% -0.0869 0.0919)
OKLCHoklch(52.43% 0.126 133.4)
XYZxyz(10.0422, 15.2915, 4.0122)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7923 #512379
analogous
#767923 #4B7923 #237926
triadic
#4B7923 #234B79 #79234B
tetradic
#4B7923 #237679 #512379 #792623
square
#4B7923 #237679 #512379 #792623
split-complementary
#4B7923 #262379 #792376
monochromatic
#101A08 #2E4A15 #4B7923 #68A831 #87CB4B

Accessibility & contrast

On white

5.17
#4B7923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#4B7923 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7923
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7923#FFFFFF#000000##FFFFFF
##4B79231.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F16
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#4B7468
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4b7923;
/* rgb */ color: rgb(75, 121, 35);
/* oklch */ color: oklch(52.4% 0.126 133.4);
Tailwind
colors: {
  custom: {
    50: '#81a063',
    500: '#4b7923',
    950: '#000000',
  },
}
SCSS
$custom: #4b7923;
$custom-light: #81a063;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7923",
  "rgb": {
    "r": 75,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 92.093,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5243,
    "c": 0.12642,
    "h": 133.4
  },
  "luminance": 0.15292
}

Semantic roles & 50–950 ramp

primary
#4B7923
secondary
#7F4CAC
accent
#49DE99
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4B7923

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

Preview Lab → · Contrast checker → · Palette generator →

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