#4D7623#4D7623

#4D7623 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.7% C 0.121 H 132.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4D7623
RGBrgb(77, 118, 35)
HSLhsl(90, 54%, 30%)
HSVhsv(90, 70%, 46%)
CMYKcmyk(34.7%, 0%, 70.3%, 53.7%)
CIE-LABlab(45.16, -28.82, 39.52)
CIE-LCHlch(45.16, 48.91, 126.10°)
OKLaboklab(51.75% -0.081 0.09)
OKLCHoklch(51.75% 0.121 132)
XYZxyz(9.8423, 14.6556, 3.9000)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7623 #4C2376
analogous
#767623 #4D7623 #237623
triadic
#4D7623 #234D76 #76234D
tetradic
#4D7623 #237676 #4C2376 #762323
square
#4D7623 #237676 #4C2376 #762323
split-complementary
#4D7623 #232376 #762376
monochromatic
#0F1807 #2E4715 #4D7623 #6CA531 #8AC94A

Accessibility & contrast

On white

5.34
#4D7623 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4D7623 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7623
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7623#FFFFFF#000000##FFFFFF
##4D76231.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D17
Deuteranopia (green-blind)
#756A2A
Tritanopia (blue-blind)
#4E7165
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d7623;
/* rgb */ color: rgb(77, 118, 35);
/* oklch */ color: oklch(51.7% 0.121 132.0);
Tailwind
colors: {
  custom: {
    50: '#829e63',
    500: '#4d7623',
    950: '#000000',
  },
}
SCSS
$custom: #4d7623;
$custom-light: #829e63;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7623",
  "rgb": {
    "r": 77,
    "g": 118,
    "b": 35
  },
  "hsl": {
    "h": 89.639,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.51749,
    "c": 0.12111,
    "h": 132
  },
  "luminance": 0.14656
}

Semantic roles & 50–950 ramp

primary
#4D7623
secondary
#7A4CA9
accent
#4ADE93
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4D7623

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

Preview Lab → · Contrast checker → · Palette generator →

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