#4A6F14#4A6F14

#4A6F14 is a mid, vivid yellow-green. Relative luminance 0.129; OKLCH L 49.6% C 0.123 H 130.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4A6F14
RGBrgb(74, 111, 20)
HSLhsl(84, 69%, 26%)
HSVhsv(84, 82%, 44%)
CMYKcmyk(33.3%, 0%, 82%, 56.5%)
CIE-LABlab(42.57, -27.70, 42.73)
CIE-LCHlch(42.57, 50.92, 122.96°)
OKLaboklab(49.56% -0.079 0.0944)
OKLCHoklch(49.56% 0.123 130)
XYZxyz(8.6347, 12.8750, 2.6919)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6F14 #39146F
analogous
#6F6614 #4A6F14 #1C6F14
triadic
#4A6F14 #144A6F #6F144A
tetradic
#4A6F14 #146F66 #39146F #6F141C
square
#4A6F14 #146F66 #39146F #6F141C
split-complementary
#4A6F14 #141C6F #66146F
monochromatic
#111A05 #273B0B #4A6F14 #6DA31D #8FD727

Accessibility & contrast

On white

5.87
#4A6F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4A6F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6F14
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6F14#FFFFFF#000000##FFFFFF
##4A6F141.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6F641E
Tritanopia (blue-blind)
#4C6A5E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a6f14;
/* rgb */ color: rgb(74, 111, 20);
/* oklch */ color: oklch(49.6% 0.123 130.0);
Tailwind
colors: {
  custom: {
    50: '#80985a',
    500: '#4a6f14',
    950: '#000000',
  },
}
SCSS
$custom: #4a6f14;
$custom-light: #80985a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6f14",
  "rgb": {
    "r": 74,
    "g": 111,
    "b": 20
  },
  "hsl": {
    "h": 84.396,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49563,
    "c": 0.1231,
    "h": 130
  },
  "luminance": 0.12875
}

Semantic roles & 50–950 ramp

primary
#4A6F14
secondary
#6539A6
accent
#3CEC83
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4A6F14

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

Preview Lab → · Contrast checker → · Palette generator →

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