#6C781E#6C781E

#6C781E is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.5% C 0.112 H 116.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#6C781E
RGBrgb(108, 120, 30)
HSLhsl(68, 60%, 29%)
HSVhsv(68, 75%, 47%)
CMYKcmyk(10%, 0%, 75%, 52.9%)
CIE-LABlab(47.90, -16.92, 45.03)
CIE-LCHlch(47.90, 48.10, 110.59°)
OKLaboklab(54.51% -0.0508 0.1)
OKLCHoklch(54.51% 0.112 116.9)
XYZxyz(13.1355, 16.7150, 3.7624)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C781E #2A1E78
analogous
#78571E #6C781E #3F781E
triadic
#6C781E #1E6C78 #781E6C
tetradic
#6C781E #1E7857 #2A1E78 #781E3F
square
#6C781E #1E7857 #2A1E78 #781E3F
split-complementary
#6C781E #1E3F78 #571E78
monochromatic
#161806 #404712 #6C781E #98A92A #BCCF41

Accessibility & contrast

On white

4.84
#6C781E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#6C781E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C781E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C781E#FFFFFF#000000##FFFFFF
##6C781E1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81710D
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#737167
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6c781e;
/* rgb */ color: rgb(108, 120, 30);
/* oklch */ color: oklch(54.5% 0.112 116.9);
Tailwind
colors: {
  custom: {
    50: '#999e61',
    500: '#6c781e',
    950: '#000000',
  },
}
SCSS
$custom: #6c781e;
$custom-light: #999e61;
$custom-dark: #000000;
JSON
{
  "hex": "#6c781e",
  "rgb": {
    "r": 108,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 68,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54506,
    "c": 0.11216,
    "h": 116.9
  },
  "luminance": 0.16715
}

Semantic roles & 50–950 ramp

primary
#6C781E
secondary
#5446AC
accent
#45E35A
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6C781E

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

Preview Lab → · Contrast checker → · Palette generator →

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