#4B6B17#4B6B17

#4B6B17 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.6% C 0.115 H 128.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4B6B17
RGBrgb(75, 107, 23)
HSLhsl(83, 65%, 25%)
HSVhsv(83, 79%, 42%)
CMYKcmyk(29.9%, 0%, 78.5%, 58%)
CIE-LABlab(41.33, -25.17, 40.51)
CIE-LCHlch(41.33, 47.69, 121.85°)
OKLaboklab(48.57% -0.072 0.0902)
OKLCHoklch(48.57% 0.115 128.6)
XYZxyz(8.3140, 12.0729, 2.7027)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6B17 #37176B
analogous
#6B6117 #4B6B17 #216B17
triadic
#4B6B17 #174B6B #6B174B
tetradic
#4B6B17 #176B61 #37176B #6B1721
square
#4B6B17 #176B61 #37176B #6B1721
split-complementary
#4B6B17 #17216B #61176B
monochromatic
#121905 #28390C #4B6B17 #6E9D22 #92D02D

Accessibility & contrast

On white

6.15
#4B6B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4B6B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6B17
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6B17#FFFFFF#000000##FFFFFF
##4B6B171.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716305
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#4E665B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4b6b17;
/* rgb */ color: rgb(75, 107, 23);
/* oklch */ color: oklch(48.6% 0.115 128.6);
Tailwind
colors: {
  custom: {
    50: '#81955b',
    500: '#4b6b17',
    950: '#000000',
  },
}
SCSS
$custom: #4b6b17;
$custom-light: #81955b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6b17",
  "rgb": {
    "r": 75,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 82.857,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48573,
    "c": 0.1154,
    "h": 128.6
  },
  "luminance": 0.12073
}

Semantic roles & 50–950 ramp

primary
#4B6B17
secondary
#633DA1
accent
#40E880
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4B6B17

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

Preview Lab → · Contrast checker → · Palette generator →

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