#6E7917#6E7917

#6E7917 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 54.9% C 0.117 H 116.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#6E7917
RGBrgb(110, 121, 23)
HSLhsl(67, 68%, 28%)
HSVhsv(67, 81%, 47%)
CMYKcmyk(9.1%, 0%, 81%, 52.5%)
CIE-LABlab(48.33, -16.89, 47.96)
CIE-LCHlch(48.33, 50.84, 109.40°)
OKLaboklab(54.88% -0.0515 0.1048)
OKLCHoklch(54.88% 0.117 116.2)
XYZxyz(13.4228, 17.0518, 3.3947)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7917 #221779
analogous
#795317 #6E7917 #3D7917
triadic
#6E7917 #176E79 #79176E
tetradic
#6E7917 #177953 #221779 #79173D
square
#6E7917 #177953 #221779 #79173D
split-complementary
#6E7917 #173D79 #531779
monochromatic
#171A05 #3F460D #6E7917 #9DAC21 #C5D832

Accessibility & contrast

On white

4.76
#6E7917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#6E7917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7917
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7917#FFFFFF#000000##FFFFFF
##6E79171.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#817320
Tritanopia (blue-blind)
#767267
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6e7917;
/* rgb */ color: rgb(110, 121, 23);
/* oklch */ color: oklch(54.9% 0.117 116.2);
Tailwind
colors: {
  custom: {
    50: '#9b9f5e',
    500: '#6e7917',
    950: '#000000',
  },
}
SCSS
$custom: #6e7917;
$custom-light: #9b9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7917",
  "rgb": {
    "r": 110,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 66.735,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54876,
    "c": 0.11676,
    "h": 116.2
  },
  "luminance": 0.17052
}

Semantic roles & 50–950 ramp

primary
#6E7917
secondary
#4A3EAE
accent
#3DEB50
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6E7917

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

Preview Lab → · Contrast checker → · Palette generator →

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