#4D761C#4D761C

#4D761C is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.7% C 0.126 H 131.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4D761C
RGBrgb(77, 118, 28)
HSLhsl(87, 62%, 29%)
HSVhsv(87, 76%, 46%)
CMYKcmyk(34.7%, 0%, 76.3%, 53.7%)
CIE-LABlab(45.11, -29.34, 42.34)
CIE-LCHlch(45.11, 51.51, 124.73°)
OKLaboklab(51.69% -0.0831 0.0948)
OKLCHoklch(51.69% 0.126 131.2)
XYZxyz(9.7485, 14.6181, 3.4063)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D761C #451C76
analogous
#76721C #4D761C #20761C
triadic
#4D761C #1C4D76 #761C4D
tetradic
#4D761C #1C7672 #451C76 #761C20
square
#4D761C #1C7672 #451C76 #761C20
split-complementary
#4D761C #1C2076 #721C76
monochromatic
#101906 #2D4510 #4D761C #6DA728 #8DD13C

Accessibility & contrast

On white

5.35
#4D761C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4D761C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D761C
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D761C#FFFFFF#000000##FFFFFF
##4D761C1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D0B
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#4F7165
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d761c;
/* rgb */ color: rgb(77, 118, 28);
/* oklch */ color: oklch(51.7% 0.126 131.2);
Tailwind
colors: {
  custom: {
    50: '#839e5f',
    500: '#4d761c',
    950: '#000000',
  },
}
SCSS
$custom: #4d761c;
$custom-light: #839e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d761c",
  "rgb": {
    "r": 77,
    "g": 118,
    "b": 28
  },
  "hsl": {
    "h": 87.333,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5169,
    "c": 0.12605,
    "h": 131.2
  },
  "luminance": 0.14618
}

Semantic roles & 50–950 ramp

primary
#4D761C
secondary
#7244AA
accent
#43E58D
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D761C

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

Preview Lab → · Contrast checker → · Palette generator →

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