#4A6213#4A6213

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

Color values

HEX#4A6213
RGBrgb(74, 98, 19)
HSLhsl(78, 68%, 23%)
HSVhsv(78, 81%, 38%)
CMYKcmyk(24.5%, 0%, 80.6%, 61.6%)
CIE-LABlab(38.27, -21.28, 39.03)
CIE-LCHlch(38.27, 44.46, 118.60°)
OKLaboklab(46.06% -0.0617 0.0864)
OKLCHoklch(46.06% 0.106 125.5)
XYZxyz(7.3093, 10.2381, 2.2070)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6213 #2B1362
analogous
#625213 #4A6213 #226213
triadic
#4A6213 #134A62 #62134A
tetradic
#4A6213 #136252 #2B1362 #621322
square
#4A6213 #136252 #2B1362 #621322
split-complementary
#4A6213 #132262 #521362
monochromatic
#131A05 #232F09 #4A6213 #71951D #97C927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A6213#FFFFFF#000000##FFFFFF
##4A62131.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)
#685B02
Deuteranopia (green-blind)
#655A1B
Tritanopia (blue-blind)
#4E5D53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4a6213;
/* rgb */ color: rgb(74, 98, 19);
/* oklch */ color: oklch(46.1% 0.106 125.5);
Tailwind
colors: {
  custom: {
    50: '#7f8e58',
    500: '#4a6213',
    950: '#000000',
  },
}
SCSS
$custom: #4a6213;
$custom-light: #7f8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6213",
  "rgb": {
    "r": 74,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 78.228,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.4606,
    "c": 0.10617,
    "h": 125.5
  },
  "luminance": 0.10238
}

Semantic roles & 50–950 ramp

primary
#4A6213
secondary
#55379A
accent
#3DEA72
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #4A6213

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

Preview Lab → · Contrast checker → · Palette generator →

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