#4B6216#4B6216

#4B6216 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.2% C 0.104 H 125.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#4B6216
RGBrgb(75, 98, 22)
HSLhsl(78, 63%, 24%)
HSVhsv(78, 78%, 38%)
CMYKcmyk(23.5%, 0%, 77.6%, 61.6%)
CIE-LABlab(38.36, -20.66, 38.00)
CIE-LCHlch(38.36, 43.25, 118.53°)
OKLaboklab(46.16% -0.0598 0.0848)
OKLCHoklch(46.16% 0.104 125.2)
XYZxyz(7.4142, 10.2891, 2.3543)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6216 #2D1662
analogous
#625316 #4B6216 #256216
triadic
#4B6216 #164B62 #62164B
tetradic
#4B6216 #166253 #2D1662 #621625
square
#4B6216 #166253 #2D1662 #621625
split-complementary
#4B6216 #162562 #531662
monochromatic
#131906 #25300B #4B6216 #719421 #97C62C

Accessibility & contrast

On white

6.87
#4B6216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4B6216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6216
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6216#FFFFFF#000000##FFFFFF
##4B62161.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B08
Deuteranopia (green-blind)
#655A1D
Tritanopia (blue-blind)
#4F5D53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4b6216;
/* rgb */ color: rgb(75, 98, 22);
/* oklch */ color: oklch(46.2% 0.104 125.2);
Tailwind
colors: {
  custom: {
    50: '#808e59',
    500: '#4b6216',
    950: '#000000',
  },
}
SCSS
$custom: #4b6216;
$custom-light: #808e59;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6216",
  "rgb": {
    "r": 75,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 78.158,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46157,
    "c": 0.10371,
    "h": 125.2
  },
  "luminance": 0.10289
}

Semantic roles & 50–950 ramp

primary
#4B6216
secondary
#573B99
accent
#41E673
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4B6216

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

Preview Lab → · Contrast checker → · Palette generator →

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