#6D7D17#6D7D17

#6D7D17 is a mid, vivid yellow. Relative luminance 0.180; OKLCH L 55.8% C 0.122 H 118.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#6D7D17
RGBrgb(109, 125, 23)
HSLhsl(69, 69%, 29%)
HSVhsv(69, 82%, 49%)
CMYKcmyk(12.8%, 0%, 81.6%, 51%)
CIE-LABlab(49.47, -19.44, 48.96)
CIE-LCHlch(49.47, 52.68, 111.66°)
OKLaboklab(55.78% -0.0584 0.107)
OKLCHoklch(55.78% 0.122 118.6)
XYZxyz(13.7953, 17.9804, 3.5543)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7D17 #27177D
analogous
#7D5A17 #6D7D17 #3A7D17
triadic
#6D7D17 #176D7D #7D176D
tetradic
#6D7D17 #177D5A #27177D #7D173A
square
#6D7D17 #177D5A #27177D #7D173A
split-complementary
#6D7D17 #173A7D #5A177D
monochromatic
#171A05 #40490D #6D7D17 #9AB121 #C0DA35

Accessibility & contrast

On white

4.57
#6D7D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#6D7D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D7D17
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7D17#FFFFFF#000000##000000
##6D7D171.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#847621
Tritanopia (blue-blind)
#74766A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6d7d17;
/* rgb */ color: rgb(109, 125, 23);
/* oklch */ color: oklch(55.8% 0.122 118.6);
Tailwind
colors: {
  custom: {
    50: '#9aa25e',
    500: '#6d7d17',
    950: '#000000',
  },
}
SCSS
$custom: #6d7d17;
$custom-light: #9aa25e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7d17",
  "rgb": {
    "r": 109,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 69.412,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55778,
    "c": 0.12191,
    "h": 118.6
  },
  "luminance": 0.1798
}

Semantic roles & 50–950 ramp

primary
#6D7D17
secondary
#503EB2
accent
#3CEC58
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6D7D17

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

Preview Lab → · Contrast checker → · Palette generator →

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