#4A7B1A#4A7B1A

#4A7B1A is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.8% C 0.136 H 133.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4A7B1A
RGBrgb(74, 123, 26)
HSLhsl(90, 65%, 29%)
HSVhsv(90, 79%, 48%)
CMYKcmyk(39.8%, 0%, 78.9%, 51.8%)
CIE-LABlab(46.57, -32.94, 44.45)
CIE-LCHlch(46.57, 55.32, 126.54°)
OKLaboklab(52.84% -0.0927 0.099)
OKLCHoklch(52.84% 0.136 133.1)
XYZxyz(10.0933, 15.6959, 3.4749)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7B1A #4B1A7B
analogous
#7B7B1A #4A7B1A #1A7B1A
triadic
#4A7B1A #1A4A7B #7B1A4A
tetradic
#4A7B1A #1A7B7B #4B1A7B #7B1A1A
square
#4A7B1A #1A7B7B #4B1A7B #7B1A1A
split-complementary
#4A7B1A #1A1A7B #7B1A7B
monochromatic
#0F1905 #2C480F #4A7B1A #68AE25 #87D53A

Accessibility & contrast

On white

5.07
#4A7B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4A7B1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7B1A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7B1A#FFFFFF#000000##FFFFFF
##4A7B1A1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807104
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#4A7669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4a7b1a;
/* rgb */ color: rgb(74, 123, 26);
/* oklch */ color: oklch(52.8% 0.136 133.1);
Tailwind
colors: {
  custom: {
    50: '#81a15f',
    500: '#4a7b1a',
    950: '#000000',
  },
}
SCSS
$custom: #4a7b1a;
$custom-light: #81a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7b1a",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 90.309,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52838,
    "c": 0.13563,
    "h": 133.1
  },
  "luminance": 0.15696
}

Semantic roles & 50–950 ramp

primary
#4A7B1A
secondary
#7942AF
accent
#40E895
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4A7B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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