#6D7918#6D7918

#6D7918 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 54.8% C 0.117 H 116.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6D7918
RGBrgb(109, 121, 24)
HSLhsl(67, 67%, 28%)
HSVhsv(67, 80%, 47%)
CMYKcmyk(9.9%, 0%, 80.2%, 52.5%)
CIE-LABlab(48.25, -17.30, 47.53)
CIE-LCHlch(48.25, 50.58, 110.00°)
OKLaboklab(54.8% -0.0525 0.1041)
OKLCHoklch(54.8% 0.117 116.7)
XYZxyz(13.3093, 16.9921, 3.4427)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7918 #241879
analogous
#795418 #6D7918 #3C7918
triadic
#6D7918 #186D79 #79186D
tetradic
#6D7918 #187954 #241879 #79183C
square
#6D7918 #187954 #241879 #79183C
split-complementary
#6D7918 #183C79 #541879
monochromatic
#171A05 #3F460E #6D7918 #9BAC22 #C3D735

Accessibility & contrast

On white

4.77
#6D7918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#6D7918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7918
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7918#FFFFFF#000000##FFFFFF
##6D79181.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#817321
Tritanopia (blue-blind)
#747267
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6d7918;
/* rgb */ color: rgb(109, 121, 24);
/* oklch */ color: oklch(54.8% 0.117 116.7);
Tailwind
colors: {
  custom: {
    50: '#9a9f5e',
    500: '#6d7918',
    950: '#000000',
  },
}
SCSS
$custom: #6d7918;
$custom-light: #9a9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7918",
  "rgb": {
    "r": 109,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 67.423,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54797,
    "c": 0.11661,
    "h": 116.7
  },
  "luminance": 0.16992
}

Semantic roles & 50–950 ramp

primary
#6D7918
secondary
#4D3FAE
accent
#3EEA53
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7918

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

Preview Lab → · Contrast checker → · Palette generator →

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