#6D7818#6D7818

#6D7818 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.6% C 0.115 H 116.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6D7818
RGBrgb(109, 120, 24)
HSLhsl(67, 67%, 28%)
HSVhsv(67, 80%, 47%)
CMYKcmyk(9.2%, 0%, 80%, 52.9%)
CIE-LABlab(47.94, -16.77, 47.25)
CIE-LCHlch(47.94, 50.14, 109.54°)
OKLaboklab(54.55% -0.051 0.1035)
OKLCHoklch(54.55% 0.115 116.2)
XYZxyz(13.1884, 16.7503, 3.4024)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7818 #231878
analogous
#785318 #6D7818 #3D7818
triadic
#6D7818 #186D78 #78186D
tetradic
#6D7818 #187853 #231878 #78183D
square
#6D7818 #187853 #231878 #78183D
split-complementary
#6D7818 #183D78 #531878
monochromatic
#171A05 #3F450E #6D7818 #9BAB22 #C4D634

Accessibility & contrast

On white

4.83
#6D7818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#6D7818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7818
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7818#FFFFFF#000000##FFFFFF
##6D78181.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#807221
Tritanopia (blue-blind)
#747166
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6d7818;
/* rgb */ color: rgb(109, 120, 24);
/* oklch */ color: oklch(54.6% 0.115 116.2);
Tailwind
colors: {
  custom: {
    50: '#9a9e5e',
    500: '#6d7818',
    950: '#000000',
  },
}
SCSS
$custom: #6d7818;
$custom-light: #9a9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7818",
  "rgb": {
    "r": 109,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 66.875,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54551,
    "c": 0.11541,
    "h": 116.2
  },
  "luminance": 0.1675
}

Semantic roles & 50–950 ramp

primary
#6D7818
secondary
#4B3FAD
accent
#3EEA52
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7818

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

Preview Lab → · Contrast checker → · Palette generator →

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