#4A751C#4A751C

#4A751C is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.2% C 0.126 H 132.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4A751C
RGBrgb(74, 117, 28)
HSLhsl(89, 61%, 28%)
HSVhsv(89, 76%, 46%)
CMYKcmyk(36.8%, 0%, 76.1%, 54.1%)
CIE-LABlab(44.61, -30.05, 41.78)
CIE-LCHlch(44.61, 51.47, 125.72°)
OKLaboklab(51.24% -0.0848 0.0937)
OKLCHoklch(51.24% 0.126 132.1)
XYZxyz(9.3948, 14.2619, 3.3562)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A751C #471C75
analogous
#75731C #4A751C #1D751C
triadic
#4A751C #1C4A75 #751C4A
tetradic
#4A751C #1C7573 #471C75 #751C1D
square
#4A751C #1C7573 #471C75 #751C1D
split-complementary
#4A751C #1C1D75 #731C75
monochromatic
#101906 #2B4410 #4A751C #69A628 #88D03B

Accessibility & contrast

On white

5.45
#4A751C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4A751C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A751C
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A751C#FFFFFF#000000##FFFFFF
##4A751C1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C0B
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#4B7064
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a751c;
/* rgb */ color: rgb(74, 117, 28);
/* oklch */ color: oklch(51.2% 0.126 132.1);
Tailwind
colors: {
  custom: {
    50: '#809d5f',
    500: '#4a751c',
    950: '#000000',
  },
}
SCSS
$custom: #4a751c;
$custom-light: #809d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a751c",
  "rgb": {
    "r": 74,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 88.989,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51235,
    "c": 0.12638,
    "h": 132.1
  },
  "luminance": 0.14262
}

Semantic roles & 50–950 ramp

primary
#4A751C
secondary
#7544A9
accent
#43E491
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4A751C

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

Preview Lab → · Contrast checker → · Palette generator →

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