#4F6923#4F6923

#4F6923 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.4% C 0.101 H 127.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4F6923
RGBrgb(79, 105, 35)
HSLhsl(82, 50%, 27%)
HSVhsv(82, 67%, 41%)
CMYKcmyk(24.8%, 0%, 66.7%, 58.8%)
CIE-LABlab(41.04, -21.55, 35.16)
CIE-LCHlch(41.04, 41.24, 121.51°)
OKLaboklab(48.43% -0.0612 0.0808)
OKLCHoklch(48.43% 0.101 127.2)
XYZxyz(8.5794, 11.8866, 3.4321)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6923 #3D2369
analogous
#696023 #4F6923 #2C6923
triadic
#4F6923 #234F69 #69234F
tetradic
#4F6923 #236960 #3D2369 #69232C
square
#4F6923 #236960 #3D2369 #69232C
split-complementary
#4F6923 #232C69 #602369
monochromatic
#111708 #2C3B14 #4F6923 #729732 #93C145

Accessibility & contrast

On white

6.22
#4F6923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4F6923 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6923
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6923#FFFFFF#000000##FFFFFF
##4F69231.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E621A
Deuteranopia (green-blind)
#6B6028
Tritanopia (blue-blind)
#52645A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f6923;
/* rgb */ color: rgb(79, 105, 35);
/* oklch */ color: oklch(48.4% 0.101 127.2);
Tailwind
colors: {
  custom: {
    50: '#839461',
    500: '#4f6923',
    950: '#000000',
  },
}
SCSS
$custom: #4f6923;
$custom-light: #839461;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6923",
  "rgb": {
    "r": 79,
    "g": 105,
    "b": 35
  },
  "hsl": {
    "h": 82.286,
    "s": 50,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48432,
    "c": 0.10136,
    "h": 127.2
  },
  "luminance": 0.11887
}

Semantic roles & 50–950 ramp

primary
#4F6923
secondary
#694B9C
accent
#4EDA82
background
#F8F9F5
surface
#EFF1EA
border
#CACBC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4F6923

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

Preview Lab → · Contrast checker → · Palette generator →

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