#4A6214#4A6214

#4A6214 is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 46.1% C 0.106 H 125.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#4A6214
RGBrgb(74, 98, 20)
HSLhsl(78, 66%, 23%)
HSVhsv(78, 80%, 38%)
CMYKcmyk(24.5%, 0%, 79.6%, 61.6%)
CIE-LABlab(38.27, -21.22, 38.67)
CIE-LCHlch(38.27, 44.11, 118.76°)
OKLaboklab(46.07% -0.0614 0.0858)
OKLCHoklch(46.07% 0.106 125.6)
XYZxyz(7.3180, 10.2416, 2.2530)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6214 #2C1462
analogous
#625314 #4A6214 #236214
triadic
#4A6214 #144A62 #62144A
tetradic
#4A6214 #146253 #2C1462 #621423
square
#4A6214 #146253 #2C1462 #621423
split-complementary
#4A6214 #142362 #531462
monochromatic
#131905 #242F0A #4A6214 #70951E #97C829

Accessibility & contrast

On white

6.89
#4A6214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4A6214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6214
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6214#FFFFFF#000000##FFFFFF
##4A62141.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B04
Deuteranopia (green-blind)
#645A1B
Tritanopia (blue-blind)
#4E5D53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4a6214;
/* rgb */ color: rgb(74, 98, 20);
/* oklch */ color: oklch(46.1% 0.106 125.6);
Tailwind
colors: {
  custom: {
    50: '#7f8e58',
    500: '#4a6214',
    950: '#000000',
  },
}
SCSS
$custom: #4a6214;
$custom-light: #7f8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6214",
  "rgb": {
    "r": 74,
    "g": 98,
    "b": 20
  },
  "hsl": {
    "h": 78.462,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46067,
    "c": 0.10555,
    "h": 125.6
  },
  "luminance": 0.10242
}

Semantic roles & 50–950 ramp

primary
#4A6214
secondary
#563899
accent
#3FE973
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4A6214

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

Preview Lab → · Contrast checker → · Palette generator →

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