#6D781E#6D781E

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

Color values

HEX#6D781E
RGBrgb(109, 120, 30)
HSLhsl(67, 60%, 29%)
HSVhsv(67, 75%, 47%)
CMYKcmyk(9.2%, 0%, 75%, 52.9%)
CIE-LABlab(47.98, -16.47, 45.13)
CIE-LCHlch(47.98, 48.04, 110.04°)
OKLaboklab(54.59% -0.0496 0.1002)
OKLCHoklch(54.59% 0.112 116.3)
XYZxyz(13.2578, 16.7781, 3.7681)
Luminance0.1678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D781E #291E78
analogous
#78561E #6D781E #40781E
triadic
#6D781E #1E6D78 #781E6D
tetradic
#6D781E #1E7856 #291E78 #781E40
square
#6D781E #1E7856 #291E78 #781E40
split-complementary
#6D781E #1E4078 #561E78
monochromatic
#161806 #414712 #6D781E #99A92A #BECF41

Accessibility & contrast

On white

4.82
#6D781E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#6D781E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D781E
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D781E#FFFFFF#000000##FFFFFF
##6D781E1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81710D
Deuteranopia (green-blind)
#807225
Tritanopia (blue-blind)
#747167
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6d781e;
/* rgb */ color: rgb(109, 120, 30);
/* oklch */ color: oklch(54.6% 0.112 116.3);
Tailwind
colors: {
  custom: {
    50: '#9a9e61',
    500: '#6d781e',
    950: '#000000',
  },
}
SCSS
$custom: #6d781e;
$custom-light: #9a9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#6d781e",
  "rgb": {
    "r": 109,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 67.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5459,
    "c": 0.11179,
    "h": 116.3
  },
  "luminance": 0.16778
}

Semantic roles & 50–950 ramp

primary
#6D781E
secondary
#5346AC
accent
#45E358
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D781E

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

Preview Lab → · Contrast checker → · Palette generator →

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