#4F7923#4F7923

#4F7923 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.7% C 0.124 H 131.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4F7923
RGBrgb(79, 121, 35)
HSLhsl(89, 55%, 31%)
HSVhsv(89, 71%, 47%)
CMYKcmyk(34.7%, 0%, 71.1%, 52.5%)
CIE-LABlab(46.26, -29.46, 40.70)
CIE-LCHlch(46.26, 50.24, 125.90°)
OKLaboklab(52.67% -0.0829 0.0924)
OKLCHoklch(52.67% 0.124 131.9)
XYZxyz(10.3651, 15.4580, 4.0273)
Luminance0.1546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7923 #4D2379
analogous
#797823 #4F7923 #247923
triadic
#4F7923 #234F79 #79234F
tetradic
#4F7923 #237978 #4D2379 #792324
square
#4F7923 #237978 #4D2379 #792324
split-complementary
#4F7923 #232479 #782379
monochromatic
#111A08 #304A15 #4F7923 #6EA831 #8DCB4B

Accessibility & contrast

On white

5.13
#4F7923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#4F7923 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7923
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7923#FFFFFF#000000##FFFFFF
##4F79231.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7016
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#507468
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4f7923;
/* rgb */ color: rgb(79, 121, 35);
/* oklch */ color: oklch(52.7% 0.124 131.9);
Tailwind
colors: {
  custom: {
    50: '#84a063',
    500: '#4f7923',
    950: '#000000',
  },
}
SCSS
$custom: #4f7923;
$custom-light: #84a063;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7923",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 89.302,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52673,
    "c": 0.12418,
    "h": 131.9
  },
  "luminance": 0.15458
}

Semantic roles & 50–950 ramp

primary
#4F7923
secondary
#7B4CAC
accent
#49DE92
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4F7923

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

Preview Lab → · Contrast checker → · Palette generator →

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