#6D7016#6D7016

#6D7016 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.6% C 0.107 H 111.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6D7016
RGBrgb(109, 112, 22)
HSLhsl(62, 67%, 26%)
HSVhsv(62, 80%, 44%)
CMYKcmyk(2.7%, 0%, 80.4%, 56.1%)
CIE-LABlab(45.49, -12.52, 45.69)
CIE-LCHlch(45.49, 47.37, 105.33°)
OKLaboklab(52.58% -0.0394 0.0998)
OKLCHoklch(52.58% 0.107 111.5)
XYZxyz(12.2461, 14.8978, 2.9894)
Luminance0.1490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7016 #191670
analogous
#704616 #6D7016 #407016
triadic
#6D7016 #166D70 #70166D
tetradic
#6D7016 #167046 #191670 #701640
square
#6D7016 #167046 #191670 #701640
split-complementary
#6D7016 #164070 #461670
monochromatic
#191A05 #3B3D0C #6D7016 #9FA320 #D0D52B

Accessibility & contrast

On white

5.28
#6D7016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6D7016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7016
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7016#FFFFFF#000000##FFFFFF
##6D70161.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B00
Deuteranopia (green-blind)
#7A6D1E
Tritanopia (blue-blind)
#75695F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6d7016;
/* rgb */ color: rgb(109, 112, 22);
/* oklch */ color: oklch(52.6% 0.107 111.5);
Tailwind
colors: {
  custom: {
    50: '#9a985c',
    500: '#6d7016',
    950: '#000000',
  },
}
SCSS
$custom: #6d7016;
$custom-light: #9a985c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7016",
  "rgb": {
    "r": 109,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 62,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.52583,
    "c": 0.10733,
    "h": 111.5
  },
  "luminance": 0.14897
}

Semantic roles & 50–950 ramp

primary
#6D7016
secondary
#3F3CA6
accent
#3EEA43
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6D7016

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

Preview Lab → · Contrast checker → · Palette generator →

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