#6D7017#6D7017

#6D7017 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#6D7017
RGBrgb(109, 112, 23)
HSLhsl(62, 66%, 26%)
HSVhsv(62, 79%, 44%)
CMYKcmyk(2.7%, 0%, 79.5%, 56.1%)
CIE-LABlab(45.50, -12.48, 45.35)
CIE-LCHlch(45.50, 47.04, 105.39°)
OKLaboklab(52.59% -0.0392 0.0993)
OKLCHoklch(52.59% 0.107 111.5)
XYZxyz(12.2559, 14.9017, 3.0412)
Luminance0.1490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7017 #1A1770
analogous
#704717 #6D7017 #417017
triadic
#6D7017 #176D70 #70176D
tetradic
#6D7017 #177047 #1A1770 #701741
square
#6D7017 #177047 #1A1770 #701741
split-complementary
#6D7017 #174170 #471770
monochromatic
#191905 #3C3D0D #6D7017 #9EA321 #CED42D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D7017#FFFFFF#000000##FFFFFF
##6D70171.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)
#796B02
Deuteranopia (green-blind)
#7A6D1F
Tritanopia (blue-blind)
#75695F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6d7017;
/* rgb */ color: rgb(109, 112, 23);
/* oklch */ color: oklch(52.6% 0.107 111.5);
Tailwind
colors: {
  custom: {
    50: '#9a985c',
    500: '#6d7017',
    950: '#000000',
  },
}
SCSS
$custom: #6d7017;
$custom-light: #9a985c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7017",
  "rgb": {
    "r": 109,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 62.022,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.52589,
    "c": 0.10677,
    "h": 111.5
  },
  "luminance": 0.14901
}

Semantic roles & 50–950 ramp

primary
#6D7017
secondary
#413DA6
accent
#3FE945
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6D7017

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

Preview Lab → · Contrast checker → · Palette generator →

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