#4B6814#4B6814

#4B6814 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.7% C 0.113 H 127.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4B6814
RGBrgb(75, 104, 20)
HSLhsl(81, 68%, 24%)
HSVhsv(81, 81%, 41%)
CMYKcmyk(27.9%, 0%, 80.8%, 59.2%)
CIE-LABlab(40.32, -23.85, 40.64)
CIE-LCHlch(40.32, 47.12, 120.40°)
OKLaboklab(47.75% -0.0687 0.0899)
OKLCHoklch(47.75% 0.113 127.4)
XYZxyz(7.9783, 11.4468, 2.4508)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6814 #311468
analogous
#685B14 #4B6814 #216814
triadic
#4B6814 #144B68 #68144B
tetradic
#4B6814 #14685B #311468 #681421
square
#4B6814 #14685B #311468 #681421
split-complementary
#4B6814 #142168 #5B1468
monochromatic
#131A05 #26350A #4B6814 #709B1E #95CF28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B6814#FFFFFF#000000##FFFFFF
##4B68141.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)
#6E6001
Deuteranopia (green-blind)
#6A5E1C
Tritanopia (blue-blind)
#4E6358
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4b6814;
/* rgb */ color: rgb(75, 104, 20);
/* oklch */ color: oklch(47.7% 0.113 127.4);
Tailwind
colors: {
  custom: {
    50: '#809359',
    500: '#4b6814',
    950: '#000000',
  },
}
SCSS
$custom: #4b6814;
$custom-light: #809359;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6814",
  "rgb": {
    "r": 75,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 80.714,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47748,
    "c": 0.11315,
    "h": 127.4
  },
  "luminance": 0.11447
}

Semantic roles & 50–950 ramp

primary
#4B6814
secondary
#5C399F
accent
#3DEB79
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4B6814

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

Preview Lab → · Contrast checker → · Palette generator →

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