#6E7117#6E7117

#6E7117 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 52.9% C 0.108 H 111.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6E7117
RGBrgb(110, 113, 23)
HSLhsl(62, 66%, 27%)
HSVhsv(62, 80%, 44%)
CMYKcmyk(2.7%, 0%, 79.6%, 55.7%)
CIE-LABlab(45.89, -12.56, 45.74)
CIE-LCHlch(45.89, 47.44, 105.36°)
OKLaboklab(52.92% -0.0395 0.1001)
OKLCHoklch(52.92% 0.108 111.5)
XYZxyz(12.4906, 15.1874, 3.0839)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7117 #1A1771
analogous
#714717 #6E7117 #417117
triadic
#6E7117 #176E71 #71176E
tetradic
#6E7117 #177147 #1A1771 #711741
square
#6E7117 #177147 #1A1771 #711741
split-complementary
#6E7117 #174171 #471771
monochromatic
#191905 #3D3E0D #6E7117 #A0A421 #CFD42E

Accessibility & contrast

On white

5.20
#6E7117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#6E7117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7117
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7117#FFFFFF#000000##FFFFFF
##6E71171.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C02
Deuteranopia (green-blind)
#7B6E1F
Tritanopia (blue-blind)
#766A60
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6e7117;
/* rgb */ color: rgb(110, 113, 23);
/* oklch */ color: oklch(52.9% 0.108 111.5);
Tailwind
colors: {
  custom: {
    50: '#9b995d',
    500: '#6e7117',
    950: '#000000',
  },
}
SCSS
$custom: #6e7117;
$custom-light: #9b995d;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7117",
  "rgb": {
    "r": 110,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 62,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52923,
    "c": 0.10761,
    "h": 111.5
  },
  "luminance": 0.15187
}

Semantic roles & 50–950 ramp

primary
#6E7117
secondary
#413DA7
accent
#3FE944
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6E7117

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

Preview Lab → · Contrast checker → · Palette generator →

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