#6E7B17#6E7B17

#6E7B17 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.4% C 0.119 H 117.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6E7B17
RGBrgb(110, 123, 23)
HSLhsl(68, 68%, 29%)
HSVhsv(68, 81%, 48%)
CMYKcmyk(10.6%, 0%, 81.3%, 51.8%)
CIE-LABlab(48.94, -17.94, 48.51)
CIE-LCHlch(48.94, 51.72, 110.30°)
OKLaboklab(55.37% -0.0544 0.106)
OKLCHoklch(55.37% 0.119 117.2)
XYZxyz(13.6684, 17.5429, 3.4765)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7B17 #24177B
analogous
#7B5617 #6E7B17 #3C7B17
triadic
#6E7B17 #176E7B #7B176E
tetradic
#6E7B17 #177B56 #24177B #7B173C
square
#6E7B17 #177B56 #24177B #7B173C
split-complementary
#6E7B17 #173C7B #56177B
monochromatic
#171A05 #40470D #6E7B17 #9CAF21 #C3D933

Accessibility & contrast

On white

4.66
#6E7B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#6E7B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7B17
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7B17#FFFFFF#000000##FFFFFF
##6E7B171.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#837521
Tritanopia (blue-blind)
#757469
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6e7b17;
/* rgb */ color: rgb(110, 123, 23);
/* oklch */ color: oklch(55.4% 0.119 117.2);
Tailwind
colors: {
  custom: {
    50: '#9ba15e',
    500: '#6e7b17',
    950: '#000000',
  },
}
SCSS
$custom: #6e7b17;
$custom-light: #9ba15e;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7b17",
  "rgb": {
    "r": 110,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 67.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55367,
    "c": 0.11913,
    "h": 117.2
  },
  "luminance": 0.17543
}

Semantic roles & 50–950 ramp

primary
#6E7B17
secondary
#4D3EB0
accent
#3CEB53
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6E7B17

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

Preview Lab → · Contrast checker → · Palette generator →

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