#4B6C17#4B6C17

#4B6C17 is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 48.8% C 0.117 H 128.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#4B6C17
RGBrgb(75, 108, 23)
HSLhsl(83, 65%, 26%)
HSVhsv(83, 79%, 42%)
CMYKcmyk(30.6%, 0%, 78.7%, 57.6%)
CIE-LABlab(41.66, -25.66, 40.82)
CIE-LCHlch(41.66, 48.22, 122.15°)
OKLaboklab(48.84% -0.0733 0.0909)
OKLCHoklch(48.84% 0.117 128.9)
XYZxyz(8.4189, 12.2826, 2.7377)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6C17 #38176C
analogous
#6C6217 #4B6C17 #216C17
triadic
#4B6C17 #174B6C #6C174B
tetradic
#4B6C17 #176C62 #38176C #6C1721
square
#4B6C17 #176C62 #38176C #6C1721
split-complementary
#4B6C17 #17216C #62176C
monochromatic
#121905 #283A0C #4B6C17 #6E9E22 #91D12C

Accessibility & contrast

On white

6.08
#4B6C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4B6C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6C17
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6C17#FFFFFF#000000##FFFFFF
##4B6C171.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726405
Deuteranopia (green-blind)
#6D621F
Tritanopia (blue-blind)
#4E675C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4b6c17;
/* rgb */ color: rgb(75, 108, 23);
/* oklch */ color: oklch(48.8% 0.117 128.9);
Tailwind
colors: {
  custom: {
    50: '#81965b',
    500: '#4b6c17',
    950: '#000000',
  },
}
SCSS
$custom: #4b6c17;
$custom-light: #81965b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6c17",
  "rgb": {
    "r": 75,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 83.294,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48842,
    "c": 0.11676,
    "h": 128.9
  },
  "luminance": 0.12283
}

Semantic roles & 50–950 ramp

primary
#4B6C17
secondary
#643DA2
accent
#40E881
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4B6C17

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

Preview Lab → · Contrast checker → · Palette generator →

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