#4B6317#4B6317

#4B6317 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.4% C 0.104 H 125.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4B6317
RGBrgb(75, 99, 23)
HSLhsl(79, 62%, 24%)
HSVhsv(79, 77%, 39%)
CMYKcmyk(24.2%, 0%, 76.8%, 61.2%)
CIE-LABlab(38.69, -21.11, 37.93)
CIE-LCHlch(38.69, 43.41, 119.10°)
OKLaboklab(46.43% -0.0609 0.0848)
OKLCHoklch(46.43% 0.104 125.7)
XYZxyz(7.5182, 10.4813, 2.4374)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6317 #2F1763
analogous
#635517 #4B6317 #256317
triadic
#4B6317 #174B63 #63174B
tetradic
#4B6317 #176355 #2F1763 #631725
square
#4B6317 #176355 #2F1763 #631725
split-complementary
#4B6317 #172563 #551763
monochromatic
#131906 #25310B #4B6317 #719523 #96C62E

Accessibility & contrast

On white

6.78
#4B6317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4B6317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6317
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6317#FFFFFF#000000##FFFFFF
##4B63171.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C09
Deuteranopia (green-blind)
#655B1E
Tritanopia (blue-blind)
#4F5E54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4b6317;
/* rgb */ color: rgb(75, 99, 23);
/* oklch */ color: oklch(46.4% 0.104 125.7);
Tailwind
colors: {
  custom: {
    50: '#808f5a',
    500: '#4b6317',
    950: '#000000',
  },
}
SCSS
$custom: #4b6317;
$custom-light: #808f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6317",
  "rgb": {
    "r": 75,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 78.947,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46432,
    "c": 0.1044,
    "h": 125.7
  },
  "luminance": 0.10481
}

Semantic roles & 50–950 ramp

primary
#4B6317
secondary
#5A3C9A
accent
#42E576
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4B6317

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

Preview Lab → · Contrast checker → · Palette generator →

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