#4D6214#4D6214

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

Color values

HEX#4D6214
RGBrgb(77, 98, 20)
HSLhsl(76, 66%, 23%)
HSVhsv(76, 80%, 38%)
CMYKcmyk(21.4%, 0%, 79.6%, 61.6%)
CIE-LABlab(38.49, -19.88, 38.95)
CIE-LCHlch(38.49, 43.73, 117.04°)
OKLaboklab(46.3% -0.058 0.0863)
OKLCHoklch(46.3% 0.104 123.9)
XYZxyz(7.5546, 10.3636, 2.2641)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6214 #291462
analogous
#625014 #4D6214 #266214
triadic
#4D6214 #144D62 #62144D
tetradic
#4D6214 #146250 #291462 #621426
square
#4D6214 #146250 #291462 #621426
split-complementary
#4D6214 #142662 #501462
monochromatic
#141905 #252F0A #4D6214 #75951E #9DC829

Accessibility & contrast

On white

6.83
#4D6214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D6214
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6214#FFFFFF#000000##FFFFFF
##4D62141.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d6214;
/* rgb */ color: rgb(77, 98, 20);
/* oklch */ color: oklch(46.3% 0.104 123.9);
Tailwind
colors: {
  custom: {
    50: '#828e58',
    500: '#4d6214',
    950: '#000000',
  },
}
SCSS
$custom: #4d6214;
$custom-light: #828e58;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6214",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 20
  },
  "hsl": {
    "h": 76.154,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46296,
    "c": 0.10397,
    "h": 123.9
  },
  "luminance": 0.10364
}

Semantic roles & 50–950 ramp

primary
#4D6214
secondary
#523899
accent
#3FE96D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4D6214

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

Preview Lab → · Contrast checker → · Palette generator →

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