#4C6315#4C6315

#4C6315 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.5% C 0.105 H 125.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#4C6315
RGBrgb(76, 99, 21)
HSLhsl(78, 65%, 24%)
HSVhsv(78, 79%, 39%)
CMYKcmyk(23.2%, 0%, 78.8%, 61.2%)
CIE-LABlab(38.75, -20.79, 38.80)
CIE-LCHlch(38.75, 44.02, 118.19°)
OKLaboklab(46.49% -0.0603 0.0862)
OKLCHoklch(46.49% 0.105 125)
XYZxyz(7.5778, 10.5142, 2.3395)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6315 #2C1563
analogous
#635315 #4C6315 #256315
triadic
#4C6315 #154C63 #63154C
tetradic
#4C6315 #156353 #2C1563 #631525
square
#4C6315 #156353 #2C1563 #631525
split-complementary
#4C6315 #152563 #531563
monochromatic
#131905 #25310A #4C6315 #739520 #9AC82A

Accessibility & contrast

On white

6.77
#4C6315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C6315
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6315#FFFFFF#000000##FFFFFF
##4C63151.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C05
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#505E54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c6315;
/* rgb */ color: rgb(76, 99, 21);
/* oklch */ color: oklch(46.5% 0.105 125.0);
Tailwind
colors: {
  custom: {
    50: '#818f59',
    500: '#4c6315',
    950: '#000000',
  },
}
SCSS
$custom: #4c6315;
$custom-light: #818f59;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6315",
  "rgb": {
    "r": 76,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 77.692,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46492,
    "c": 0.10522,
    "h": 125
  },
  "luminance": 0.10514
}

Semantic roles & 50–950 ramp

primary
#4C6315
secondary
#563A9A
accent
#40E871
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4C6315

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

Preview Lab → · Contrast checker → · Palette generator →

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