#6E7017#6E7017

#6E7017 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 52.7% C 0.106 H 110.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6E7017
RGBrgb(110, 112, 23)
HSLhsl(61, 66%, 26%)
HSVhsv(61, 79%, 44%)
CMYKcmyk(1.8%, 0%, 79.5%, 56.1%)
CIE-LABlab(45.59, -12.01, 45.46)
CIE-LCHlch(45.59, 47.02, 104.80°)
OKLaboklab(52.68% -0.038 0.0995)
OKLCHoklch(52.68% 0.107 110.9)
XYZxyz(12.3797, 14.9655, 3.0470)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7017 #191770
analogous
#704617 #6E7017 #427017
triadic
#6E7017 #176E70 #70176E
tetradic
#6E7017 #177046 #191770 #701742
square
#6E7017 #177046 #191770 #701742
split-complementary
#6E7017 #174270 #461770
monochromatic
#191905 #3C3D0D #6E7017 #A0A321 #D0D42D

Accessibility & contrast

On white

5.26
#6E7017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6E7017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7017
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7017#FFFFFF#000000##FFFFFF
##6E70171.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B02
Deuteranopia (green-blind)
#7A6D1F
Tritanopia (blue-blind)
#76695F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6e7017;
/* rgb */ color: rgb(110, 112, 23);
/* oklch */ color: oklch(52.7% 0.106 110.9);
Tailwind
colors: {
  custom: {
    50: '#9b985c',
    500: '#6e7017',
    950: '#000000',
  },
}
SCSS
$custom: #6e7017;
$custom-light: #9b985c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7017",
  "rgb": {
    "r": 110,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 61.348,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.5268,
    "c": 0.1065,
    "h": 110.9
  },
  "luminance": 0.14965
}

Semantic roles & 50–950 ramp

primary
#6E7017
secondary
#3F3DA6
accent
#3FE943
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6E7017

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

Preview Lab → · Contrast checker → · Palette generator →

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