#6D7A17#6D7A17

#6D7A17 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.0% C 0.118 H 117.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#6D7A17
RGBrgb(109, 122, 23)
HSLhsl(68, 68%, 28%)
HSVhsv(68, 81%, 48%)
CMYKcmyk(10.7%, 0%, 81.1%, 52.2%)
CIE-LABlab(48.55, -17.87, 48.13)
CIE-LCHlch(48.55, 51.34, 110.37°)
OKLaboklab(55.04% -0.0541 0.1052)
OKLCHoklch(55.04% 0.118 117.2)
XYZxyz(13.4212, 17.2323, 3.4296)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7A17 #24177A
analogous
#7A5517 #6D7A17 #3B7A17
triadic
#6D7A17 #176D7A #7A176D
tetradic
#6D7A17 #177A55 #24177A #7A173B
square
#6D7A17 #177A55 #24177A #7A173B
split-complementary
#6D7A17 #173B7A #55177A
monochromatic
#171A05 #3F470D #6D7A17 #9BAD21 #C3D933

Accessibility & contrast

On white

4.72
#6D7A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#6D7A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7A17
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7A17#FFFFFF#000000##FFFFFF
##6D7A171.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d7a17;
/* rgb */ color: rgb(109, 122, 23);
/* oklch */ color: oklch(55.0% 0.118 117.2);
Tailwind
colors: {
  custom: {
    50: '#9aa05e',
    500: '#6d7a17',
    950: '#000000',
  },
}
SCSS
$custom: #6d7a17;
$custom-light: #9aa05e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7a17",
  "rgb": {
    "r": 109,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 67.879,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55037,
    "c": 0.11832,
    "h": 117.2
  },
  "luminance": 0.17232
}

Semantic roles & 50–950 ramp

primary
#6D7A17
secondary
#4D3EAF
accent
#3DEB54
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7A17

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

Preview Lab → · Contrast checker → · Palette generator →

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