#6D7A16#6D7A16

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

Color values

HEX#6D7A16
RGBrgb(109, 122, 22)
HSLhsl(68, 69%, 28%)
HSVhsv(68, 82%, 48%)
CMYKcmyk(10.7%, 0%, 82%, 52.2%)
CIE-LABlab(48.55, -17.91, 48.44)
CIE-LCHlch(48.55, 51.65, 110.29°)
OKLaboklab(55.03% -0.0543 0.1057)
OKLCHoklch(55.03% 0.119 117.2)
XYZxyz(13.4114, 17.2284, 3.3778)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7A16 #23167A
analogous
#7A5516 #6D7A16 #3B7A16
triadic
#6D7A16 #166D7A #7A166D
tetradic
#6D7A16 #167A55 #23167A #7A163B
square
#6D7A16 #167A55 #23167A #7A163B
split-complementary
#6D7A16 #163B7A #55167A
monochromatic
#171A05 #3F460D #6D7A16 #9BAE1F #C4DA31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D7A16#FFFFFF#000000##FFFFFF
##6D7A161.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)
#827420
Tritanopia (blue-blind)
#747368
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6d7a16;
/* rgb */ color: rgb(109, 122, 22);
/* oklch */ color: oklch(55.0% 0.119 117.2);
Tailwind
colors: {
  custom: {
    50: '#9aa05d',
    500: '#6d7a16',
    950: '#000000',
  },
}
SCSS
$custom: #6d7a16;
$custom-light: #9aa05d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7a16",
  "rgb": {
    "r": 109,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 67.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55032,
    "c": 0.11884,
    "h": 117.2
  },
  "luminance": 0.17228
}

Semantic roles & 50–950 ramp

primary
#6D7A16
secondary
#4B3DAF
accent
#3CEC53
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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