#4A7B14#4A7B14

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

Color values

HEX#4A7B14
RGBrgb(74, 123, 20)
HSLhsl(89, 72%, 28%)
HSVhsv(89, 84%, 48%)
CMYKcmyk(39.8%, 0%, 83.7%, 51.8%)
CIE-LABlab(46.54, -33.27, 46.38)
CIE-LCHlch(46.54, 57.08, 125.65°)
OKLaboklab(52.8% -0.0941 0.1021)
OKLCHoklch(52.8% 0.139 132.7)
XYZxyz(10.0331, 15.6718, 3.1580)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7B14 #45147B
analogous
#7B7814 #4A7B14 #167B14
triadic
#4A7B14 #144A7B #7B144A
tetradic
#4A7B14 #147B78 #45147B #7B1416
square
#4A7B14 #147B78 #45147B #7B1416
split-complementary
#4A7B14 #14167B #78147B
monochromatic
#101A04 #2A460B #4A7B14 #6AB01D #89DD2D

Accessibility & contrast

On white

5.08
#4A7B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#4A7B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7B14
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7B14#FFFFFF#000000##FFFFFF
##4A7B141.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#4B7668
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4a7b14;
/* rgb */ color: rgb(74, 123, 20);
/* oklch */ color: oklch(52.8% 0.139 132.7);
Tailwind
colors: {
  custom: {
    50: '#81a15c',
    500: '#4a7b14',
    950: '#000000',
  },
}
SCSS
$custom: #4a7b14;
$custom-light: #81a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7b14",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 88.544,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52802,
    "c": 0.13879,
    "h": 132.7
  },
  "luminance": 0.15672
}

Semantic roles & 50–950 ramp

primary
#4A7B14
secondary
#733AB1
accent
#39EF8F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F04
muted
#7C7E79

Preview Lab

Preview with #4A7B14

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

Preview Lab → · Contrast checker → · Palette generator →

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