#4D751F#4D751F

#4D751F is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.4% C 0.123 H 131.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4D751F
RGBrgb(77, 117, 31)
HSLhsl(88, 58%, 29%)
HSVhsv(88, 74%, 46%)
CMYKcmyk(34.2%, 0%, 73.5%, 54.1%)
CIE-LABlab(44.80, -28.66, 40.84)
CIE-LCHlch(44.80, 49.89, 125.06°)
OKLaboklab(51.45% -0.0809 0.0922)
OKLCHoklch(51.45% 0.123 131.3)
XYZxyz(9.6691, 14.3989, 3.5659)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D751F #471F75
analogous
#75721F #4D751F #22751F
triadic
#4D751F #1F4D75 #751F4D
tetradic
#4D751F #1F7572 #471F75 #751F22
square
#4D751F #1F7572 #471F75 #751F22
split-complementary
#4D751F #1F2275 #721F75
monochromatic
#101806 #2D4512 #4D751F #6DA52C #8CCD42

Accessibility & contrast

On white

5.41
#4D751F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4D751F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D751F
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D751F#FFFFFF#000000##FFFFFF
##4D751F1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C11
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#4E7064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d751f;
/* rgb */ color: rgb(77, 117, 31);
/* oklch */ color: oklch(51.4% 0.123 131.3);
Tailwind
colors: {
  custom: {
    50: '#829d60',
    500: '#4d751f',
    950: '#000000',
  },
}
SCSS
$custom: #4d751f;
$custom-light: #829d60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d751f",
  "rgb": {
    "r": 77,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 87.907,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51446,
    "c": 0.12266,
    "h": 131.3
  },
  "luminance": 0.14399
}

Semantic roles & 50–950 ramp

primary
#4D751F
secondary
#7447A9
accent
#46E18E
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D751F

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

Preview Lab → · Contrast checker → · Palette generator →

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