#6E7216#6E7216

#6E7216 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.2% C 0.109 H 112.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6E7216
RGBrgb(110, 114, 22)
HSLhsl(63, 68%, 27%)
HSVhsv(63, 81%, 45%)
CMYKcmyk(3.5%, 0%, 80.7%, 55.3%)
CIE-LABlab(46.19, -13.15, 46.35)
CIE-LCHlch(46.19, 48.18, 105.84°)
OKLaboklab(53.16% -0.0412 0.1012)
OKLCHoklch(53.16% 0.109 112.2)
XYZxyz(12.5930, 15.4079, 3.0696)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7216 #1A1672
analogous
#724816 #6E7216 #407216
triadic
#6E7216 #166E72 #72166E
tetradic
#6E7216 #167248 #1A1672 #721640
square
#6E7216 #167248 #1A1672 #721640
split-complementary
#6E7216 #164072 #481672
monochromatic
#191A05 #3D3F0C #6E7216 #A0A520 #CFD62C

Accessibility & contrast

On white

5.15
#6E7216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#6E7216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7216
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7216#FFFFFF#000000##FFFFFF
##6E72161.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7C6E1E
Tritanopia (blue-blind)
#766B61
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6e7216;
/* rgb */ color: rgb(110, 114, 22);
/* oklch */ color: oklch(53.2% 0.109 112.2);
Tailwind
colors: {
  custom: {
    50: '#9b9a5c',
    500: '#6e7216',
    950: '#000000',
  },
}
SCSS
$custom: #6e7216;
$custom-light: #9b9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7216",
  "rgb": {
    "r": 110,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 62.609,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.5316,
    "c": 0.10927,
    "h": 112.2
  },
  "luminance": 0.15408
}

Semantic roles & 50–950 ramp

primary
#6E7216
secondary
#413CA8
accent
#3DEB45
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6E7216

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

Preview Lab → · Contrast checker → · Palette generator →

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