#6D7C16#6D7C16

#6D7C16 is a mid, vivid yellow. Relative luminance 0.177; OKLCH L 55.5% C 0.121 H 118.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6D7C16
RGBrgb(109, 124, 22)
HSLhsl(69, 70%, 29%)
HSVhsv(69, 82%, 49%)
CMYKcmyk(12.1%, 0%, 82.3%, 51.4%)
CIE-LABlab(49.16, -18.96, 48.99)
CIE-LCHlch(49.16, 52.54, 111.16°)
OKLaboklab(55.53% -0.0572 0.1069)
OKLCHoklch(55.53% 0.121 118.2)
XYZxyz(13.6595, 17.7246, 3.4605)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7C16 #25167C
analogous
#7C5816 #6D7C16 #3A7C16
triadic
#6D7C16 #166D7C #7C166D
tetradic
#6D7C16 #167C58 #25167C #7C163A
square
#6D7C16 #167C58 #25167C #7C163A
split-complementary
#6D7C16 #163A7C #58167C
monochromatic
#171A05 #3F480D #6D7C16 #9BB01F #C2DB32

Accessibility & contrast

On white

4.62
#6D7C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#6D7C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7C16
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7C16#FFFFFF#000000##FFFFFF
##6D7C161.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#837520
Tritanopia (blue-blind)
#747569
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6d7c16;
/* rgb */ color: rgb(109, 124, 22);
/* oklch */ color: oklch(55.5% 0.121 118.2);
Tailwind
colors: {
  custom: {
    50: '#9aa15e',
    500: '#6d7c16',
    950: '#000000',
  },
}
SCSS
$custom: #6d7c16;
$custom-light: #9aa15e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7c16",
  "rgb": {
    "r": 109,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 68.824,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55526,
    "c": 0.12122,
    "h": 118.2
  },
  "luminance": 0.17724
}

Semantic roles & 50–950 ramp

primary
#6D7C16
secondary
#4E3DB1
accent
#3BED55
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6D7C16

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

Preview Lab → · Contrast checker → · Palette generator →

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