#4A7C1B#4A7C1B

#4A7C1B is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.1% C 0.136 H 133.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4A7C1B
RGBrgb(74, 124, 27)
HSLhsl(91, 64%, 30%)
HSVhsv(91, 78%, 49%)
CMYKcmyk(40.3%, 0%, 78.2%, 51.4%)
CIE-LABlab(46.91, -33.32, 44.41)
CIE-LCHlch(46.91, 55.52, 126.88°)
OKLaboklab(53.12% -0.0937 0.0991)
OKLCHoklch(53.12% 0.136 133.4)
XYZxyz(10.2294, 15.9498, 3.5763)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7C1B #4D1B7C
analogous
#7B7C1B #4A7C1B #1B7C1D
triadic
#4A7C1B #1B4A7C #7C1B4A
tetradic
#4A7C1B #1B7B7C #4D1B7C #7C1D1B
square
#4A7C1B #1B7B7C #4D1B7C #7C1D1B
split-complementary
#4A7C1B #1D1B7C #7C1B7B
monochromatic
#0F1905 #2C4A10 #4A7C1B #68AE26 #86D53D

Accessibility & contrast

On white

5.01
#4A7C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4A7C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7C1B
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7C1B#FFFFFF#000000##FFFFFF
##4A7C1B1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817205
Deuteranopia (green-blind)
#7A6E25
Tritanopia (blue-blind)
#4A776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4a7c1b;
/* rgb */ color: rgb(74, 124, 27);
/* oklch */ color: oklch(53.1% 0.136 133.4);
Tailwind
colors: {
  custom: {
    50: '#81a25f',
    500: '#4a7c1b',
    950: '#000000',
  },
}
SCSS
$custom: #4a7c1b;
$custom-light: #81a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7c1b",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 90.928,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53115,
    "c": 0.13637,
    "h": 133.4
  },
  "luminance": 0.1595
}

Semantic roles & 50–950 ramp

primary
#4A7C1B
secondary
#7B43B0
accent
#41E796
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A7C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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