#4D6312#4D6312

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

Color values

HEX#4D6312
RGBrgb(77, 99, 18)
HSLhsl(76, 69%, 23%)
HSVhsv(76, 82%, 39%)
CMYKcmyk(22.2%, 0%, 81.8%, 61.2%)
CIE-LABlab(38.80, -20.51, 39.97)
CIE-LCHlch(38.80, 44.93, 117.17°)
OKLaboklab(46.55% -0.0599 0.0881)
OKLCHoklch(46.55% 0.107 124.2)
XYZxyz(7.6317, 10.5451, 2.2055)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6312 #281263
analogous
#635012 #4D6312 #256312
triadic
#4D6312 #124D63 #63124D
tetradic
#4D6312 #126350 #281263 #631225
square
#4D6312 #126350 #281263 #631225
split-complementary
#4D6312 #122563 #501263
monochromatic
#141A05 #252F09 #4D6312 #75971B #9ECB25

Accessibility & contrast

On white

6.75
#4D6312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4D6312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6312
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6312#FFFFFF#000000##FFFFFF
##4D63121.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#665B1A
Tritanopia (blue-blind)
#515E54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d6312;
/* rgb */ color: rgb(77, 99, 18);
/* oklch */ color: oklch(46.5% 0.107 124.2);
Tailwind
colors: {
  custom: {
    50: '#828f58',
    500: '#4d6312',
    950: '#000000',
  },
}
SCSS
$custom: #4d6312;
$custom-light: #828f58;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6312",
  "rgb": {
    "r": 77,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 76.296,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46548,
    "c": 0.10653,
    "h": 124.2
  },
  "luminance": 0.10545
}

Semantic roles & 50–950 ramp

primary
#4D6312
secondary
#51369B
accent
#3CEC6C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4D6312

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

Preview Lab → · Contrast checker → · Palette generator →

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