#4A751B#4A751B

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

Color values

HEX#4A751B
RGBrgb(74, 117, 27)
HSLhsl(89, 63%, 28%)
HSVhsv(89, 77%, 46%)
CMYKcmyk(36.8%, 0%, 76.9%, 54.1%)
CIE-LABlab(44.60, -30.12, 42.16)
CIE-LCHlch(44.60, 51.82, 125.54°)
OKLaboklab(51.23% -0.085 0.0944)
OKLCHoklch(51.23% 0.127 132)
XYZxyz(9.3831, 14.2572, 3.2942)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A751B #461B75
analogous
#75731B #4A751B #1D751B
triadic
#4A751B #1B4A75 #751B4A
tetradic
#4A751B #1B7573 #461B75 #751B1D
square
#4A751B #1B7573 #461B75 #751B1D
split-complementary
#4A751B #1B1D75 #731B75
monochromatic
#101906 #2B4310 #4A751B #69A726 #89D139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A751B#FFFFFF#000000##FFFFFF
##4A751B1.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)
#7A6C09
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#4B7064
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a751b;
/* rgb */ color: rgb(74, 117, 27);
/* oklch */ color: oklch(51.2% 0.127 132.0);
Tailwind
colors: {
  custom: {
    50: '#809d5e',
    500: '#4a751b',
    950: '#000000',
  },
}
SCSS
$custom: #4a751b;
$custom-light: #809d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a751b",
  "rgb": {
    "r": 74,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 88.667,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51228,
    "c": 0.12703,
    "h": 132
  },
  "luminance": 0.14258
}

Semantic roles & 50–950 ramp

primary
#4A751B
secondary
#7442A9
accent
#42E690
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4A751B

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

Preview Lab → · Contrast checker → · Palette generator →

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