#4F7D23#4F7D23

#4F7D23 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.7% C 0.130 H 132.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4F7D23
RGBrgb(79, 125, 35)
HSLhsl(91, 56%, 31%)
HSVhsv(91, 72%, 49%)
CMYKcmyk(36.8%, 0%, 72%, 51%)
CIE-LABlab(47.56, -31.33, 42.05)
CIE-LCHlch(47.56, 52.44, 126.69°)
OKLaboklab(53.74% -0.088 0.0953)
OKLCHoklch(53.74% 0.13 132.7)
XYZxyz(10.8613, 16.4504, 4.1928)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7D23 #51237D
analogous
#7C7D23 #4F7D23 #237D24
triadic
#4F7D23 #234F7D #7D234F
tetradic
#4F7D23 #237C7D #51237D #7D2423
square
#4F7D23 #237C7D #51237D #7D2423
split-complementary
#4F7D23 #24237D #7D237C
monochromatic
#131D08 #314D16 #4F7D23 #6DAD30 #8CCD4D

Accessibility & contrast

On white

4.89
#4F7D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4F7D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7D23
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7D23#FFFFFF#000000##FFFFFF
##4F7D231.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827315
Deuteranopia (green-blind)
#7C702B
Tritanopia (blue-blind)
#50786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f7d23;
/* rgb */ color: rgb(79, 125, 35);
/* oklch */ color: oklch(53.7% 0.130 132.7);
Tailwind
colors: {
  custom: {
    50: '#84a364',
    500: '#4f7d23',
    950: '#000000',
  },
}
SCSS
$custom: #4f7d23;
$custom-light: #84a364;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7d23",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 90.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53737,
    "c": 0.12971,
    "h": 132.7
  },
  "luminance": 0.16451
}

Semantic roles & 50–950 ramp

primary
#4F7D23
secondary
#7F4CAF
accent
#48E096
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F7D23

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

Preview Lab → · Contrast checker → · Palette generator →

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