#6E7A17#6E7A17

#6E7A17 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.1% C 0.118 H 116.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6E7A17
RGBrgb(110, 122, 23)
HSLhsl(67, 68%, 28%)
HSVhsv(67, 81%, 48%)
CMYKcmyk(9.8%, 0%, 81.1%, 52.2%)
CIE-LABlab(48.63, -17.42, 48.23)
CIE-LCHlch(48.63, 51.28, 109.85°)
OKLaboklab(55.12% -0.0529 0.1054)
OKLCHoklch(55.12% 0.118 116.7)
XYZxyz(13.5450, 17.2961, 3.4354)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7A17 #23177A
analogous
#7A5417 #6E7A17 #3C7A17
triadic
#6E7A17 #176E7A #7A176E
tetradic
#6E7A17 #177A54 #23177A #7A173C
square
#6E7A17 #177A54 #23177A #7A173C
split-complementary
#6E7A17 #173C7A #54177A
monochromatic
#171A05 #40470D #6E7A17 #9CAD21 #C4D933

Accessibility & contrast

On white

4.71
#6E7A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#6E7A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7A17
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7A17#FFFFFF#000000##FFFFFF
##6E7A171.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#827420
Tritanopia (blue-blind)
#757368
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6e7a17;
/* rgb */ color: rgb(110, 122, 23);
/* oklch */ color: oklch(55.1% 0.118 116.7);
Tailwind
colors: {
  custom: {
    50: '#9ba05e',
    500: '#6e7a17',
    950: '#000000',
  },
}
SCSS
$custom: #6e7a17;
$custom-light: #9ba05e;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7a17",
  "rgb": {
    "r": 110,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 67.273,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55121,
    "c": 0.11794,
    "h": 116.7
  },
  "luminance": 0.17296
}

Semantic roles & 50–950 ramp

primary
#6E7A17
secondary
#4C3EAF
accent
#3DEB52
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6E7A17

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

Preview Lab → · Contrast checker → · Palette generator →

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