#6E7816#6E7816

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

Color values

HEX#6E7816
RGBrgb(110, 120, 22)
HSLhsl(66, 69%, 28%)
HSVhsv(66, 82%, 47%)
CMYKcmyk(8.3%, 0%, 81.7%, 52.9%)
CIE-LABlab(48.01, -16.40, 48.00)
CIE-LCHlch(48.01, 50.72, 108.86°)
OKLaboklab(54.63% -0.0502 0.1047)
OKLCHoklch(54.63% 0.116 115.6)
XYZxyz(13.2921, 16.8061, 3.3026)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7816 #201678
analogous
#785116 #6E7816 #3D7816
triadic
#6E7816 #166E78 #78166E
tetradic
#6E7816 #167851 #201678 #78163D
square
#6E7816 #167851 #201678 #78163D
split-complementary
#6E7816 #163D78 #511678
monochromatic
#181A05 #3F440D #6E7816 #9DAC1F #C8D92F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E7816#FFFFFF#000000##FFFFFF
##6E78161.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)
#80731F
Tritanopia (blue-blind)
#767166
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6e7816;
/* rgb */ color: rgb(110, 120, 22);
/* oklch */ color: oklch(54.6% 0.116 115.6);
Tailwind
colors: {
  custom: {
    50: '#9b9e5d',
    500: '#6e7816',
    950: '#000000',
  },
}
SCSS
$custom: #6e7816;
$custom-light: #9b9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7816",
  "rgb": {
    "r": 110,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 66.122,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54625,
    "c": 0.11612,
    "h": 115.6
  },
  "luminance": 0.16806
}

Semantic roles & 50–950 ramp

primary
#6E7816
secondary
#483CAD
accent
#3CEC4E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6E7816

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

Preview Lab → · Contrast checker → · Palette generator →

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