#4B6818#4B6818

#4B6818 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.8% C 0.111 H 127.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4B6818
RGBrgb(75, 104, 24)
HSLhsl(82, 63%, 25%)
HSVhsv(82, 77%, 41%)
CMYKcmyk(27.9%, 0%, 76.9%, 59.2%)
CIE-LABlab(40.35, -23.61, 39.16)
CIE-LCHlch(40.35, 45.73, 121.08°)
OKLaboklab(47.78% -0.0676 0.0875)
OKLCHoklch(47.78% 0.111 127.7)
XYZxyz(8.0168, 11.4623, 2.6540)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6818 #351868
analogous
#685D18 #4B6818 #236818
triadic
#4B6818 #184B68 #68184B
tetradic
#4B6818 #18685D #351868 #681823
square
#4B6818 #18685D #351868 #681823
split-complementary
#4B6818 #182368 #5D1868
monochromatic
#121906 #27360D #4B6818 #6F9A23 #93CB2F

Accessibility & contrast

On white

6.38
#4B6818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4B6818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6818
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6818#FFFFFF#000000##FFFFFF
##4B68181.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6009
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#4E6359
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4b6818;
/* rgb */ color: rgb(75, 104, 24);
/* oklch */ color: oklch(47.8% 0.111 127.7);
Tailwind
colors: {
  custom: {
    50: '#80935b',
    500: '#4b6818',
    950: '#000000',
  },
}
SCSS
$custom: #4b6818;
$custom-light: #80935b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6818",
  "rgb": {
    "r": 75,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 81.75,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47777,
    "c": 0.11063,
    "h": 127.7
  },
  "luminance": 0.11462
}

Semantic roles & 50–950 ramp

primary
#4B6818
secondary
#613E9E
accent
#42E67D
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4B6818

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

Preview Lab → · Contrast checker → · Palette generator →

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