#4E6017#4E6017

#4E6017 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.9% C 0.099 H 122.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#4E6017
RGBrgb(78, 96, 23)
HSLhsl(75, 61%, 23%)
HSVhsv(75, 76%, 38%)
CMYKcmyk(18.7%, 0%, 76%, 62.4%)
CIE-LABlab(37.93, -18.18, 37.25)
CIE-LCHlch(37.93, 41.45, 116.02°)
OKLaboklab(45.87% -0.0531 0.0833)
OKLCHoklch(45.87% 0.099 122.5)
XYZxyz(7.4795, 10.0473, 2.3557)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6017 #291760
analogous
#604D17 #4E6017 #296017
triadic
#4E6017 #174E60 #60174E
tetradic
#4E6017 #17604D #291760 #601729
square
#4E6017 #17604D #291760 #601729
split-complementary
#4E6017 #172960 #4D1760
monochromatic
#141906 #262F0B #4E6017 #769123 #9EC32F

Accessibility & contrast

On white

6.98
#4E6017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4E6017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6017
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6017#FFFFFF#000000##FFFFFF
##4E60171.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0A
Deuteranopia (green-blind)
#64591D
Tritanopia (blue-blind)
#525B52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e6017;
/* rgb */ color: rgb(78, 96, 23);
/* oklch */ color: oklch(45.9% 0.099 122.5);
Tailwind
colors: {
  custom: {
    50: '#828d5a',
    500: '#4e6017',
    950: '#000000',
  },
}
SCSS
$custom: #4e6017;
$custom-light: #828d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6017",
  "rgb": {
    "r": 78,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 74.795,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45869,
    "c": 0.09875,
    "h": 122.5
  },
  "luminance": 0.10047
}

Semantic roles & 50–950 ramp

primary
#4E6017
secondary
#523C97
accent
#43E46B
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E6017

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

Preview Lab → · Contrast checker → · Palette generator →

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