#6D7418#6D7418

#6D7418 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.6% C 0.111 H 114.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6D7418
RGBrgb(109, 116, 24)
HSLhsl(65, 66%, 27%)
HSVhsv(65, 79%, 45%)
CMYKcmyk(6%, 0%, 79.3%, 54.5%)
CIE-LABlab(46.72, -14.62, 46.13)
CIE-LCHlch(46.72, 48.39, 107.58°)
OKLaboklab(53.57% -0.045 0.1012)
OKLCHoklch(53.57% 0.111 114)
XYZxyz(12.7173, 15.8082, 3.2453)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7418 #1F1874
analogous
#744D18 #6D7418 #3F7418
triadic
#6D7418 #186D74 #74186D
tetradic
#6D7418 #18744D #1F1874 #74183F
square
#6D7418 #18744D #1F1874 #74183F
split-complementary
#6D7418 #183F74 #4D1874
monochromatic
#181905 #3D410E #6D7418 #9DA722 #C8D532

Accessibility & contrast

On white

5.05
#6D7418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6D7418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7418
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7418#FFFFFF#000000##FFFFFF
##6D74181.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E02
Deuteranopia (green-blind)
#7D7020
Tritanopia (blue-blind)
#756D63
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6d7418;
/* rgb */ color: rgb(109, 116, 24);
/* oklch */ color: oklch(53.6% 0.111 114.0);
Tailwind
colors: {
  custom: {
    50: '#9a9b5d',
    500: '#6d7418',
    950: '#000000',
  },
}
SCSS
$custom: #6d7418;
$custom-light: #9a9b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7418",
  "rgb": {
    "r": 109,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 64.565,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.5357,
    "c": 0.11074,
    "h": 114
  },
  "luminance": 0.15808
}

Semantic roles & 50–950 ramp

primary
#6D7418
secondary
#473FA9
accent
#3FE94C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7418

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

Preview Lab → · Contrast checker → · Palette generator →

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