#4E6213#4E6213

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

Color values

HEX#4E6213
RGBrgb(78, 98, 19)
HSLhsl(75, 68%, 23%)
HSVhsv(75, 81%, 38%)
CMYKcmyk(20.4%, 0%, 80.6%, 61.6%)
CIE-LABlab(38.55, -19.48, 39.41)
CIE-LCHlch(38.55, 43.96, 116.31°)
OKLaboklab(46.37% -0.057 0.0871)
OKLCHoklch(46.37% 0.104 123.2)
XYZxyz(7.6272, 10.4020, 2.2219)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6213 #271362
analogous
#624E13 #4E6213 #266213
triadic
#4E6213 #134E62 #62134E
tetradic
#4E6213 #13624E #271362 #621326
square
#4E6213 #13624E #271362 #621326
split-complementary
#4E6213 #132662 #4E1362
monochromatic
#141A05 #252F09 #4E6213 #77951D #A0C927

Accessibility & contrast

On white

6.82
#4E6213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4E6213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6213
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6213#FFFFFF#000000##FFFFFF
##4E62131.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B02
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#525D53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e6213;
/* rgb */ color: rgb(78, 98, 19);
/* oklch */ color: oklch(46.4% 0.104 123.2);
Tailwind
colors: {
  custom: {
    50: '#828e58',
    500: '#4e6213',
    950: '#000000',
  },
}
SCSS
$custom: #4e6213;
$custom-light: #828e58;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6213",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 75.19,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46367,
    "c": 0.10409,
    "h": 123.2
  },
  "luminance": 0.10402
}

Semantic roles & 50–950 ramp

primary
#4E6213
secondary
#50379A
accent
#3DEA69
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E6213

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

Preview Lab → · Contrast checker → · Palette generator →

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