#6D7E16#6D7E16

#6D7E16 is a mid, vivid yellow. Relative luminance 0.182; OKLCH L 56.0% C 0.124 H 119.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6D7E16
RGBrgb(109, 126, 22)
HSLhsl(70, 70%, 29%)
HSVhsv(70, 83%, 49%)
CMYKcmyk(13.5%, 0%, 82.5%, 50.6%)
CIE-LABlab(49.77, -20.00, 49.54)
CIE-LCHlch(49.77, 53.43, 111.99°)
OKLaboklab(56.02% -0.0601 0.108)
OKLCHoklch(56.02% 0.124 119.1)
XYZxyz(13.9127, 18.2309, 3.5449)
Luminance0.1823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7E16 #27167E
analogous
#7E5B16 #6D7E16 #397E16
triadic
#6D7E16 #166D7E #7E166D
tetradic
#6D7E16 #167E5B #27167E #7E1639
square
#6D7E16 #167E5B #27167E #7E1639
split-complementary
#6D7E16 #16397E #5B167E
monochromatic
#171A05 #404A0D #6D7E16 #9AB21F #C0DB33

Accessibility & contrast

On white

4.52
#6D7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#6D7E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D7E16
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7E16#FFFFFF#000000##000000
##6D7E161.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#857721
Tritanopia (blue-blind)
#74776B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6d7e16;
/* rgb */ color: rgb(109, 126, 22);
/* oklch */ color: oklch(56.0% 0.124 119.1);
Tailwind
colors: {
  custom: {
    50: '#9aa35e',
    500: '#6d7e16',
    950: '#000000',
  },
}
SCSS
$custom: #6d7e16;
$custom-light: #9aa35e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7e16",
  "rgb": {
    "r": 109,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 69.808,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.56021,
    "c": 0.12361,
    "h": 119.1
  },
  "luminance": 0.18231
}

Semantic roles & 50–950 ramp

primary
#6D7E16
secondary
#503DB3
accent
#3BED58
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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