#4D751C#4D751C

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

Color values

HEX#4D751C
RGBrgb(77, 117, 28)
HSLhsl(87, 61%, 28%)
HSVhsv(87, 76%, 46%)
CMYKcmyk(34.2%, 0%, 76.1%, 54.1%)
CIE-LABlab(44.78, -28.87, 42.01)
CIE-LCHlch(44.78, 50.98, 124.50°)
OKLaboklab(51.42% -0.0818 0.0941)
OKLCHoklch(51.42% 0.125 131)
XYZxyz(9.6314, 14.3839, 3.3673)
Luminance0.1438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D751C #441C75
analogous
#75701C #4D751C #21751C
triadic
#4D751C #1C4D75 #751C4D
tetradic
#4D751C #1C7570 #441C75 #751C21
square
#4D751C #1C7570 #441C75 #751C21
split-complementary
#4D751C #1C2175 #701C75
monochromatic
#101906 #2C4410 #4D751C #6DA628 #8DD03B

Accessibility & contrast

On white

5.42
#4D751C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D751C
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D751C#FFFFFF#000000##FFFFFF
##4D751C1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C0B
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#4F7064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d751c;
/* rgb */ color: rgb(77, 117, 28);
/* oklch */ color: oklch(51.4% 0.125 131.0);
Tailwind
colors: {
  custom: {
    50: '#829d5f',
    500: '#4d751c',
    950: '#000000',
  },
}
SCSS
$custom: #4d751c;
$custom-light: #829d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d751c",
  "rgb": {
    "r": 77,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 86.966,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51422,
    "c": 0.12469,
    "h": 131
  },
  "luminance": 0.14384
}

Semantic roles & 50–950 ramp

primary
#4D751C
secondary
#7144A9
accent
#43E48C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D751C

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

Preview Lab → · Contrast checker → · Palette generator →

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