#6D7B17#6D7B17

#6D7B17 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.3% C 0.120 H 117.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#6D7B17
RGBrgb(109, 123, 23)
HSLhsl(68, 68%, 29%)
HSVhsv(68, 81%, 48%)
CMYKcmyk(11.4%, 0%, 81.3%, 51.8%)
CIE-LABlab(48.86, -18.40, 48.41)
CIE-LCHlch(48.86, 51.79, 110.81°)
OKLaboklab(55.28% -0.0556 0.1058)
OKLCHoklch(55.28% 0.12 117.7)
XYZxyz(13.5446, 17.4791, 3.4707)
Luminance0.1748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7B17 #25177B
analogous
#7B5717 #6D7B17 #3B7B17
triadic
#6D7B17 #176D7B #7B176D
tetradic
#6D7B17 #177B57 #25177B #7B173B
square
#6D7B17 #177B57 #25177B #7B173B
split-complementary
#6D7B17 #173B7B #57177B
monochromatic
#171A05 #3F470D #6D7B17 #9BAF21 #C2D933

Accessibility & contrast

On white

4.67
#6D7B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#6D7B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7B17
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7B17#FFFFFF#000000##FFFFFF
##6D7B171.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d7b17;
/* rgb */ color: rgb(109, 123, 23);
/* oklch */ color: oklch(55.3% 0.120 117.7);
Tailwind
colors: {
  custom: {
    50: '#9aa15e',
    500: '#6d7b17',
    950: '#000000',
  },
}
SCSS
$custom: #6d7b17;
$custom-light: #9aa15e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7b17",
  "rgb": {
    "r": 109,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 68.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55284,
    "c": 0.11951,
    "h": 117.7
  },
  "luminance": 0.17479
}

Semantic roles & 50–950 ramp

primary
#6D7B17
secondary
#4E3EB0
accent
#3CEB55
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7B17

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

Preview Lab → · Contrast checker → · Palette generator →

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