#4B6D17#4B6D17

#4B6D17 is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.1% C 0.118 H 129.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4B6D17
RGBrgb(75, 109, 23)
HSLhsl(84, 65%, 26%)
HSVhsv(84, 79%, 43%)
CMYKcmyk(31.2%, 0%, 78.9%, 57.3%)
CIE-LABlab(41.99, -26.15, 41.14)
CIE-LCHlch(41.99, 48.75, 122.44°)
OKLaboklab(49.11% -0.0747 0.0915)
OKLCHoklch(49.11% 0.118 129.2)
XYZxyz(8.5249, 12.4948, 2.7730)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6D17 #39176D
analogous
#6D6417 #4B6D17 #206D17
triadic
#4B6D17 #174B6D #6D174B
tetradic
#4B6D17 #176D64 #39176D #6D1720
square
#4B6D17 #176D64 #39176D #6D1720
split-complementary
#4B6D17 #17206D #64176D
monochromatic
#111905 #283A0C #4B6D17 #6EA022 #91D22C

Accessibility & contrast

On white

6.00
#4B6D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4B6D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6D17
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6D17#FFFFFF#000000##FFFFFF
##4B6D171.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736505
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#4D685D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4b6d17;
/* rgb */ color: rgb(75, 109, 23);
/* oklch */ color: oklch(49.1% 0.118 129.2);
Tailwind
colors: {
  custom: {
    50: '#81975b',
    500: '#4b6d17',
    950: '#000000',
  },
}
SCSS
$custom: #4b6d17;
$custom-light: #81975b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6d17",
  "rgb": {
    "r": 75,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 83.721,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.4911,
    "c": 0.11812,
    "h": 129.2
  },
  "luminance": 0.12495
}

Semantic roles & 50–950 ramp

primary
#4B6D17
secondary
#653DA3
accent
#40E882
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4B6D17

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

Preview Lab → · Contrast checker → · Palette generator →

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