#4F7723#4F7723

#4F7723 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.1% C 0.121 H 131.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4F7723
RGBrgb(79, 119, 35)
HSLhsl(89, 55%, 30%)
HSVhsv(89, 71%, 47%)
CMYKcmyk(33.6%, 0%, 70.6%, 53.3%)
CIE-LABlab(45.60, -28.51, 40.02)
CIE-LCHlch(45.60, 49.14, 125.47°)
OKLaboklab(52.14% -0.0803 0.091)
OKLCHoklch(52.14% 0.121 131.4)
XYZxyz(10.1245, 14.9769, 3.9472)
Luminance0.1498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7723 #4B2377
analogous
#777523 #4F7723 #257723
triadic
#4F7723 #234F77 #77234F
tetradic
#4F7723 #237775 #4B2377 #772325
square
#4F7723 #237775 #4B2377 #772325
split-complementary
#4F7723 #232577 #752377
monochromatic
#101807 #304815 #4F7723 #6EA631 #8DCA4A

Accessibility & contrast

On white

5.26
#4F7723 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4F7723 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7723
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7723#FFFFFF#000000##FFFFFF
##4F77231.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E17
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#507266
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f7723;
/* rgb */ color: rgb(79, 119, 35);
/* oklch */ color: oklch(52.1% 0.121 131.4);
Tailwind
colors: {
  custom: {
    50: '#849e63',
    500: '#4f7723',
    950: '#000000',
  },
}
SCSS
$custom: #4f7723;
$custom-light: #849e63;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7723",
  "rgb": {
    "r": 79,
    "g": 119,
    "b": 35
  },
  "hsl": {
    "h": 88.571,
    "s": 54.545,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52141,
    "c": 0.12139,
    "h": 131.4
  },
  "luminance": 0.14977
}

Semantic roles & 50–950 ramp

primary
#4F7723
secondary
#794CAA
accent
#4ADE90
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4F7723

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

Preview Lab → · Contrast checker → · Palette generator →

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