#6E7828#6E7828

#6E7828 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 54.8% C 0.104 H 116.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#6E7828
RGBrgb(110, 120, 40)
HSLhsl(68, 50%, 31%)
HSVhsv(68, 67%, 47%)
CMYKcmyk(8.3%, 0%, 66.7%, 52.9%)
CIE-LABlab(48.14, -15.37, 41.14)
CIE-LCHlch(48.14, 43.92, 110.49°)
OKLaboklab(54.76% -0.0456 0.0935)
OKLCHoklch(54.76% 0.104 116)
XYZxyz(13.5302, 16.9013, 4.5566)
Luminance0.1690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7828 #322878
analogous
#785A28 #6E7828 #467828
triadic
#6E7828 #286E78 #78286E
tetradic
#6E7828 #28785A #322878 #782846
square
#6E7828 #28785A #322878 #782846
split-complementary
#6E7828 #284678 #5A2878
monochromatic
#1A1C09 #444A19 #6E7828 #98A637 #B8C654

Accessibility & contrast

On white

4.79
#6E7828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#6E7828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7828
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7828#FFFFFF#000000##FFFFFF
##6E78281.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721E
Deuteranopia (green-blind)
#80732E
Tritanopia (blue-blind)
#757168
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6e7828;
/* rgb */ color: rgb(110, 120, 40);
/* oklch */ color: oklch(54.8% 0.104 116.0);
Tailwind
colors: {
  custom: {
    50: '#9a9e66',
    500: '#6e7828',
    950: '#000000',
  },
}
SCSS
$custom: #6e7828;
$custom-light: #9a9e66;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7828",
  "rgb": {
    "r": 110,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 67.5,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5476,
    "c": 0.10399,
    "h": 116
  },
  "luminance": 0.16901
}

Semantic roles & 50–950 ramp

primary
#6E7828
secondary
#5D52AA
accent
#4EDA60
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E06
muted
#7E7E7A

Preview Lab

Preview with #6E7828

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

Preview Lab → · Contrast checker → · Palette generator →

#6E7828 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva