#6E7814#6E7814

#6E7814 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.6% C 0.117 H 115.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#6E7814
RGBrgb(110, 120, 20)
HSLhsl(66, 71%, 27%)
HSVhsv(66, 83%, 47%)
CMYKcmyk(8.3%, 0%, 83.3%, 52.9%)
CIE-LABlab(48.01, -16.48, 48.60)
CIE-LCHlch(48.01, 51.32, 108.73°)
OKLaboklab(54.61% -0.0506 0.1056)
OKLCHoklch(54.61% 0.117 115.6)
XYZxyz(13.2735, 16.7987, 3.2049)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7814 #1E1478
analogous
#785014 #6E7814 #3C7814
triadic
#6E7814 #146E78 #78146E
tetradic
#6E7814 #147850 #1E1478 #78143C
square
#6E7814 #147850 #1E1478 #78143C
split-complementary
#6E7814 #143C78 #501478
monochromatic
#181A04 #3E440B #6E7814 #9EAC1D #CADC2B

Accessibility & contrast

On white

4.82
#6E7814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#6E7814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7814
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7814#FFFFFF#000000##FFFFFF
##6E78141.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#80731E
Tritanopia (blue-blind)
#767166
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6e7814;
/* rgb */ color: rgb(110, 120, 20);
/* oklch */ color: oklch(54.6% 0.117 115.6);
Tailwind
colors: {
  custom: {
    50: '#9b9e5c',
    500: '#6e7814',
    950: '#000000',
  },
}
SCSS
$custom: #6e7814;
$custom-light: #9b9e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7814",
  "rgb": {
    "r": 110,
    "g": 120,
    "b": 20
  },
  "hsl": {
    "h": 66,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.54614,
    "c": 0.1171,
    "h": 115.6
  },
  "luminance": 0.16798
}

Semantic roles & 50–950 ramp

primary
#6E7814
secondary
#463AAE
accent
#3AEE4C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6E7814

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

Preview Lab → · Contrast checker → · Palette generator →

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