#6D7C17#6D7C17

#6D7C17 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#6D7C17
RGBrgb(109, 124, 23)
HSLhsl(69, 69%, 29%)
HSVhsv(69, 81%, 49%)
CMYKcmyk(12.1%, 0%, 81.5%, 51.4%)
CIE-LABlab(49.17, -18.92, 48.69)
CIE-LCHlch(49.17, 52.24, 111.24°)
OKLaboklab(55.53% -0.057 0.1064)
OKLCHoklch(55.53% 0.121 118.2)
XYZxyz(13.6693, 17.7285, 3.5123)
Luminance0.1773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7C17 #26177C
analogous
#7C5917 #6D7C17 #3B7C17
triadic
#6D7C17 #176D7C #7C176D
tetradic
#6D7C17 #177C59 #26177C #7C173B
square
#6D7C17 #177C59 #26177C #7C173B
split-complementary
#6D7C17 #173B7C #59177C
monochromatic
#171A05 #40480D #6D7C17 #9AB021 #C1D934

Accessibility & contrast

On white

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

On black

4.55
#6D7C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6D7C17#FFFFFF#000000##FFFFFF
##6D7C171.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d7c17;
/* rgb */ color: rgb(109, 124, 23);
/* oklch */ color: oklch(55.5% 0.121 118.2);
Tailwind
colors: {
  custom: {
    50: '#9aa15e',
    500: '#6d7c17',
    950: '#000000',
  },
}
SCSS
$custom: #6d7c17;
$custom-light: #9aa15e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7c17",
  "rgb": {
    "r": 109,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 68.911,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55531,
    "c": 0.12071,
    "h": 118.2
  },
  "luminance": 0.17728
}

Semantic roles & 50–950 ramp

primary
#6D7C17
secondary
#4F3EB1
accent
#3CEC56
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6D7C17

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

Preview Lab → · Contrast checker → · Palette generator →

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