#6E7E17#6E7E17

#6E7E17 is a mid, vivid yellow. Relative luminance 0.183; OKLCH L 56.1% C 0.123 H 118.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6E7E17
RGBrgb(110, 126, 23)
HSLhsl(69, 69%, 29%)
HSVhsv(69, 82%, 49%)
CMYKcmyk(12.7%, 0%, 81.7%, 50.6%)
CIE-LABlab(49.86, -19.52, 49.34)
CIE-LCHlch(49.86, 53.06, 111.58°)
OKLaboklab(56.11% -0.0587 0.1078)
OKLCHoklch(56.11% 0.123 118.6)
XYZxyz(14.0462, 18.2987, 3.6025)
Luminance0.1830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7E17 #27177E
analogous
#7E5B17 #6E7E17 #3B7E17
triadic
#6E7E17 #176E7E #7E176E
tetradic
#6E7E17 #177E5B #27177E #7E173B
square
#6E7E17 #177E5B #27177E #7E173B
split-complementary
#6E7E17 #173B7E #5B177E
monochromatic
#171A05 #414A0E #6E7E17 #9BB220 #C1DA35

Accessibility & contrast

On white

4.51
#6E7E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#6E7E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E7E17
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7E17#FFFFFF#000000##000000
##6E7E171.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#857721
Tritanopia (blue-blind)
#75776B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6e7e17;
/* rgb */ color: rgb(110, 126, 23);
/* oklch */ color: oklch(56.1% 0.123 118.6);
Tailwind
colors: {
  custom: {
    50: '#9ba35e',
    500: '#6e7e17',
    950: '#000000',
  },
}
SCSS
$custom: #6e7e17;
$custom-light: #9ba35e;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7e17",
  "rgb": {
    "r": 110,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 69.32,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56107,
    "c": 0.1227,
    "h": 118.6
  },
  "luminance": 0.18299
}

Semantic roles & 50–950 ramp

primary
#6E7E17
secondary
#503EB3
accent
#3CEC57
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E7E17

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

Preview Lab → · Contrast checker → · Palette generator →

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