#4B6F17#4B6F17

#4B6F17 is a mid, vivid yellow-green. Relative luminance 0.129; OKLCH L 49.6% C 0.121 H 129.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4B6F17
RGBrgb(75, 111, 23)
HSLhsl(85, 66%, 26%)
HSVhsv(85, 79%, 44%)
CMYKcmyk(32.4%, 0%, 79.3%, 56.5%)
CIE-LABlab(42.65, -27.12, 41.78)
CIE-LCHlch(42.65, 49.81, 122.99°)
OKLaboklab(49.65% -0.0773 0.0929)
OKLCHoklch(49.65% 0.121 129.8)
XYZxyz(8.7407, 12.9263, 2.8450)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6F17 #3B176F
analogous
#6F6717 #4B6F17 #1F6F17
triadic
#4B6F17 #174B6F #6F174B
tetradic
#4B6F17 #176F67 #3B176F #6F171F
square
#4B6F17 #176F67 #3B176F #6F171F
split-complementary
#4B6F17 #171F6F #67176F
monochromatic
#111905 #293C0C #4B6F17 #6DA222 #8FD32D

Accessibility & contrast

On white

5.86
#4B6F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4B6F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6F17
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6F17#FFFFFF#000000##FFFFFF
##4B6F171.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756604
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#4D6A5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4b6f17;
/* rgb */ color: rgb(75, 111, 23);
/* oklch */ color: oklch(49.6% 0.121 129.8);
Tailwind
colors: {
  custom: {
    50: '#81985c',
    500: '#4b6f17',
    950: '#000000',
  },
}
SCSS
$custom: #4b6f17;
$custom-light: #81985c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6f17",
  "rgb": {
    "r": 75,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 84.545,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49648,
    "c": 0.12082,
    "h": 129.8
  },
  "luminance": 0.12927
}

Semantic roles & 50–950 ramp

primary
#4B6F17
secondary
#673DA5
accent
#3FE984
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4B6F17

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

Preview Lab → · Contrast checker → · Palette generator →

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