#4A751F#4A751F

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

Color values

HEX#4A751F
RGBrgb(74, 117, 31)
HSLhsl(90, 58%, 29%)
HSVhsv(90, 74%, 46%)
CMYKcmyk(36.8%, 0%, 73.5%, 54.1%)
CIE-LABlab(44.63, -29.84, 40.61)
CIE-LCHlch(44.63, 50.39, 126.31°)
OKLaboklab(51.26% -0.0839 0.0917)
OKLCHoklch(51.26% 0.124 132.5)
XYZxyz(9.4325, 14.2770, 3.5548)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A751F #4A1F75
analogous
#75751F #4A751F #1F751F
triadic
#4A751F #1F4A75 #751F4A
tetradic
#4A751F #1F7575 #4A1F75 #751F1F
square
#4A751F #1F7575 #4A1F75 #751F1F
split-complementary
#4A751F #1F1F75 #751F75
monochromatic
#0F1806 #2B4512 #4A751F #69A52C #87CD42

Accessibility & contrast

On white

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

On black

3.86
#4A751F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4A751F#FFFFFF#000000##FFFFFF
##4A751F1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a751f;
/* rgb */ color: rgb(74, 117, 31);
/* oklch */ color: oklch(51.3% 0.124 132.5);
Tailwind
colors: {
  custom: {
    50: '#809d60',
    500: '#4a751f',
    950: '#000000',
  },
}
SCSS
$custom: #4a751f;
$custom-light: #809d60;
$custom-dark: #000000;
JSON
{
  "hex": "#4a751f",
  "rgb": {
    "r": 74,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 90,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5126,
    "c": 0.12435,
    "h": 132.5
  },
  "luminance": 0.14277
}

Semantic roles & 50–950 ramp

primary
#4A751F
secondary
#7847A9
accent
#46E194
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4A751F

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

Preview Lab → · Contrast checker → · Palette generator →

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