#4B6A17#4B6A17

#4B6A17 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.3% C 0.114 H 128.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4B6A17
RGBrgb(75, 106, 23)
HSLhsl(82, 64%, 25%)
HSVhsv(82, 78%, 42%)
CMYKcmyk(29.2%, 0%, 78.3%, 58.4%)
CIE-LABlab(41.00, -24.67, 40.19)
CIE-LCHlch(41.00, 47.16, 121.55°)
OKLaboklab(48.31% -0.0706 0.0895)
OKLCHoklch(48.31% 0.114 128.3)
XYZxyz(8.2103, 11.8656, 2.6682)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6A17 #36176A
analogous
#6A6017 #4B6A17 #216A17
triadic
#4B6A17 #174B6A #6A174B
tetradic
#4B6A17 #176A60 #36176A #6A1721
square
#4B6A17 #176A60 #36176A #6A1721
split-complementary
#4B6A17 #17216A #60176A
monochromatic
#121905 #27380C #4B6A17 #6F9C22 #92CF2D

Accessibility & contrast

On white

6.23
#4B6A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4B6A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6A17
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6A17#FFFFFF#000000##FFFFFF
##4B6A171.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706206
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#4E655A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4b6a17;
/* rgb */ color: rgb(75, 106, 23);
/* oklch */ color: oklch(48.3% 0.114 128.3);
Tailwind
colors: {
  custom: {
    50: '#80945b',
    500: '#4b6a17',
    950: '#000000',
  },
}
SCSS
$custom: #4b6a17;
$custom-light: #80945b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6a17",
  "rgb": {
    "r": 75,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 82.41,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48305,
    "c": 0.11404,
    "h": 128.3
  },
  "luminance": 0.11866
}

Semantic roles & 50–950 ramp

primary
#4B6A17
secondary
#623DA0
accent
#40E77F
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4B6A17

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

Preview Lab → · Contrast checker → · Palette generator →

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