#4B6E17#4B6E17

#4B6E17 is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.4% C 0.119 H 129.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4B6E17
RGBrgb(75, 110, 23)
HSLhsl(84, 65%, 26%)
HSVhsv(84, 79%, 43%)
CMYKcmyk(31.8%, 0%, 79.1%, 56.9%)
CIE-LABlab(42.32, -26.64, 41.46)
CIE-LCHlch(42.32, 49.28, 122.72°)
OKLaboklab(49.38% -0.076 0.0922)
OKLCHoklch(49.38% 0.119 129.5)
XYZxyz(8.6322, 12.7093, 2.8088)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6E17 #3A176E
analogous
#6E6517 #4B6E17 #1F6E17
triadic
#4B6E17 #174B6E #6E174B
tetradic
#4B6E17 #176E65 #3A176E #6E171F
square
#4B6E17 #176E65 #3A176E #6E171F
split-complementary
#4B6E17 #171F6E #65176E
monochromatic
#111905 #283B0C #4B6E17 #6EA122 #90D32C

Accessibility & contrast

On white

5.93
#4B6E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4B6E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6E17
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6E17#FFFFFF#000000##FFFFFF
##4B6E171.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746604
Deuteranopia (green-blind)
#6F6320
Tritanopia (blue-blind)
#4D695E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4b6e17;
/* rgb */ color: rgb(75, 110, 23);
/* oklch */ color: oklch(49.4% 0.119 129.5);
Tailwind
colors: {
  custom: {
    50: '#81985b',
    500: '#4b6e17',
    950: '#000000',
  },
}
SCSS
$custom: #4b6e17;
$custom-light: #81985b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6e17",
  "rgb": {
    "r": 75,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 84.138,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49379,
    "c": 0.11948,
    "h": 129.5
  },
  "luminance": 0.1271
}

Semantic roles & 50–950 ramp

primary
#4B6E17
secondary
#663DA4
accent
#3FE883
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4B6E17

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

Preview Lab → · Contrast checker → · Palette generator →

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