#4D7723#4D7723

#4D7723 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 52.0% C 0.123 H 132.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4D7723
RGBrgb(77, 119, 35)
HSLhsl(90, 55%, 30%)
HSVhsv(90, 71%, 47%)
CMYKcmyk(35.3%, 0%, 70.6%, 53.3%)
CIE-LABlab(45.49, -29.30, 39.86)
CIE-LCHlch(45.49, 49.47, 126.31°)
OKLaboklab(52.02% -0.0824 0.0907)
OKLCHoklch(52.02% 0.123 132.2)
XYZxyz(9.9606, 14.8924, 3.9395)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7723 #4D2377
analogous
#777723 #4D7723 #237723
triadic
#4D7723 #234D77 #77234D
tetradic
#4D7723 #237777 #4D2377 #772323
square
#4D7723 #237777 #4D2377 #772323
split-complementary
#4D7723 #232377 #772377
monochromatic
#101807 #2E4815 #4D7723 #6CA631 #8ACA4A

Accessibility & contrast

On white

5.28
#4D7723 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4D7723 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7723
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7723#FFFFFF#000000##FFFFFF
##4D77231.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E17
Deuteranopia (green-blind)
#766B2A
Tritanopia (blue-blind)
#4E7266
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4d7723;
/* rgb */ color: rgb(77, 119, 35);
/* oklch */ color: oklch(52.0% 0.123 132.2);
Tailwind
colors: {
  custom: {
    50: '#829e63',
    500: '#4d7723',
    950: '#000000',
  },
}
SCSS
$custom: #4d7723;
$custom-light: #829e63;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7723",
  "rgb": {
    "r": 77,
    "g": 119,
    "b": 35
  },
  "hsl": {
    "h": 90,
    "s": 54.545,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52016,
    "c": 0.12251,
    "h": 132.2
  },
  "luminance": 0.14893
}

Semantic roles & 50–950 ramp

primary
#4D7723
secondary
#7B4CAA
accent
#4ADE94
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4D7723

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

Preview Lab → · Contrast checker → · Palette generator →

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