#6E7F17#6E7F17

#6E7F17 is a mid, vivid yellow. Relative luminance 0.186; OKLCH L 56.4% C 0.124 H 119.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6E7F17
RGBrgb(110, 127, 23)
HSLhsl(70, 69%, 29%)
HSVhsv(70, 82%, 50%)
CMYKcmyk(13.4%, 0%, 81.9%, 50.2%)
CIE-LABlab(50.16, -20.03, 49.62)
CIE-LCHlch(50.16, 53.51, 111.99°)
OKLaboklab(56.35% -0.0601 0.1083)
OKLCHoklch(56.35% 0.124 119)
XYZxyz(14.1748, 18.5557, 3.6453)
Luminance0.1856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7F17 #28177F
analogous
#7F5C17 #6E7F17 #3A7F17
triadic
#6E7F17 #176E7F #7F176E
tetradic
#6E7F17 #177F5C #28177F #7F173A
square
#6E7F17 #177F5C #28177F #7F173A
split-complementary
#6E7F17 #173A7F #5C177F
monochromatic
#161A05 #414B0E #6E7F17 #9BB320 #C0DB36

Accessibility & contrast

On white

4.46
#6E7F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#6E7F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E7F17
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7F17#FFFFFF#000000##000000
##6E7F171.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#867821
Tritanopia (blue-blind)
#75786C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6e7f17;
/* rgb */ color: rgb(110, 127, 23);
/* oklch */ color: oklch(56.4% 0.124 119.0);
Tailwind
colors: {
  custom: {
    50: '#9ba45f',
    500: '#6e7f17',
    950: '#000000',
  },
}
SCSS
$custom: #6e7f17;
$custom-light: #9ba45f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7f17",
  "rgb": {
    "r": 110,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 69.808,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56354,
    "c": 0.1239,
    "h": 119
  },
  "luminance": 0.18556
}

Semantic roles & 50–950 ramp

primary
#6E7F17
secondary
#513EB4
accent
#3CEC59
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E7F17

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

Preview Lab → · Contrast checker → · Palette generator →

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