#6D7618#6D7618

#6D7618 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.1% C 0.113 H 115.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#6D7618
RGBrgb(109, 118, 24)
HSLhsl(66, 66%, 28%)
HSVhsv(66, 80%, 46%)
CMYKcmyk(7.6%, 0%, 79.7%, 53.7%)
CIE-LABlab(47.33, -15.70, 46.69)
CIE-LCHlch(47.33, 49.26, 108.58°)
OKLaboklab(54.06% -0.048 0.1024)
OKLCHoklch(54.06% 0.113 115.1)
XYZxyz(12.9504, 16.2743, 3.3230)
Luminance0.1627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7618 #211876
analogous
#765018 #6D7618 #3E7618
triadic
#6D7618 #186D76 #76186D
tetradic
#6D7618 #187650 #211876 #76183E
square
#6D7618 #187650 #211876 #76183E
split-complementary
#6D7618 #183E76 #501876
monochromatic
#171905 #3E430E #6D7618 #9CA922 #C6D533

Accessibility & contrast

On white

4.94
#6D7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#6D7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7618
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7618#FFFFFF#000000##FFFFFF
##6D76181.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7001
Deuteranopia (green-blind)
#7E7120
Tritanopia (blue-blind)
#756F64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6d7618;
/* rgb */ color: rgb(109, 118, 24);
/* oklch */ color: oklch(54.1% 0.113 115.1);
Tailwind
colors: {
  custom: {
    50: '#9a9d5e',
    500: '#6d7618',
    950: '#000000',
  },
}
SCSS
$custom: #6d7618;
$custom-light: #9a9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7618",
  "rgb": {
    "r": 109,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 65.745,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5406,
    "c": 0.11306,
    "h": 115.1
  },
  "luminance": 0.16274
}

Semantic roles & 50–950 ramp

primary
#6D7618
secondary
#493FAB
accent
#3FE94F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7618

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

Preview Lab → · Contrast checker → · Palette generator →

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