#4B6318#4B6318

#4B6318 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.4% C 0.104 H 125.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4B6318
RGBrgb(75, 99, 24)
HSLhsl(79, 61%, 24%)
HSVhsv(79, 76%, 39%)
CMYKcmyk(24.2%, 0%, 75.8%, 61.2%)
CIE-LABlab(38.70, -21.05, 37.53)
CIE-LCHlch(38.70, 43.03, 119.28°)
OKLaboklab(46.44% -0.0607 0.0841)
OKLCHoklch(46.44% 0.104 125.8)
XYZxyz(7.5284, 10.4854, 2.4912)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6318 #301863
analogous
#635618 #4B6318 #266318
triadic
#4B6318 #184B63 #63184B
tetradic
#4B6318 #186356 #301863 #631826
square
#4B6318 #186356 #301863 #631826
split-complementary
#4B6318 #182663 #561863
monochromatic
#131906 #26320C #4B6318 #709424 #96C630

Accessibility & contrast

On white

6.78
#4B6318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4B6318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6318
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6318#FFFFFF#000000##FFFFFF
##4B63181.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C0B
Deuteranopia (green-blind)
#655B1F
Tritanopia (blue-blind)
#4E5E54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4b6318;
/* rgb */ color: rgb(75, 99, 24);
/* oklch */ color: oklch(46.4% 0.104 125.8);
Tailwind
colors: {
  custom: {
    50: '#808f5a',
    500: '#4b6318',
    950: '#000000',
  },
}
SCSS
$custom: #4b6318;
$custom-light: #808f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6318",
  "rgb": {
    "r": 75,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 79.2,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.4644,
    "c": 0.10371,
    "h": 125.8
  },
  "luminance": 0.10485
}

Semantic roles & 50–950 ramp

primary
#4B6318
secondary
#5B3E99
accent
#44E477
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4B6318

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

Preview Lab → · Contrast checker → · Palette generator →

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