#4D6213#4D6213

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

Color values

HEX#4D6213
RGBrgb(77, 98, 19)
HSLhsl(76, 68%, 23%)
HSVhsv(76, 81%, 38%)
CMYKcmyk(21.4%, 0%, 80.6%, 61.6%)
CIE-LABlab(38.48, -19.94, 39.31)
CIE-LCHlch(38.48, 44.08, 116.89°)
OKLaboklab(46.29% -0.0582 0.0869)
OKLCHoklch(46.29% 0.105 123.8)
XYZxyz(7.5459, 10.3601, 2.2181)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6213 #281362
analogous
#624F13 #4D6213 #266213
triadic
#4D6213 #134D62 #62134D
tetradic
#4D6213 #13624F #281362 #621326
square
#4D6213 #13624F #281362 #621326
split-complementary
#4D6213 #132662 #4F1362
monochromatic
#141A05 #252F09 #4D6213 #75951D #9EC927

Accessibility & contrast

On white

6.84
#4D6213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4D6213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6213
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6213#FFFFFF#000000##FFFFFF
##4D62131.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B02
Deuteranopia (green-blind)
#655A1B
Tritanopia (blue-blind)
#515D53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d6213;
/* rgb */ color: rgb(77, 98, 19);
/* oklch */ color: oklch(46.3% 0.105 123.8);
Tailwind
colors: {
  custom: {
    50: '#828e58',
    500: '#4d6213',
    950: '#000000',
  },
}
SCSS
$custom: #4d6213;
$custom-light: #828e58;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6213",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 75.949,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46289,
    "c": 0.1046,
    "h": 123.8
  },
  "luminance": 0.1036
}

Semantic roles & 50–950 ramp

primary
#4D6213
secondary
#51379A
accent
#3DEA6B
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4D6213

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

Preview Lab → · Contrast checker → · Palette generator →

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