#6C781D#6C781D

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

Color values

HEX#6C781D
RGBrgb(108, 120, 29)
HSLhsl(68, 61%, 29%)
HSVhsv(68, 76%, 47%)
CMYKcmyk(10%, 0%, 75.8%, 52.9%)
CIE-LABlab(47.89, -16.97, 45.40)
CIE-LCHlch(47.89, 48.47, 110.50°)
OKLaboklab(54.5% -0.051 0.1006)
OKLCHoklch(54.5% 0.113 116.9)
XYZxyz(13.1229, 16.7100, 3.6962)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C781D #291D78
analogous
#78571D #6C781D #3F781D
triadic
#6C781D #1D6C78 #781D6C
tetradic
#6C781D #1D7857 #291D78 #781D3F
square
#6C781D #1D7857 #291D78 #781D3F
split-complementary
#6C781D #1D3F78 #571D78
monochromatic
#161906 #404711 #6C781D #98A929 #BDD13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C781D#FFFFFF#000000##FFFFFF
##6C781D1.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)
#81710B
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#737167
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6c781d;
/* rgb */ color: rgb(108, 120, 29);
/* oklch */ color: oklch(54.5% 0.113 116.9);
Tailwind
colors: {
  custom: {
    50: '#999e60',
    500: '#6c781d',
    950: '#000000',
  },
}
SCSS
$custom: #6c781d;
$custom-light: #999e60;
$custom-dark: #000000;
JSON
{
  "hex": "#6c781d",
  "rgb": {
    "r": 108,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 67.912,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54499,
    "c": 0.11281,
    "h": 116.9
  },
  "luminance": 0.1671
}

Semantic roles & 50–950 ramp

primary
#6C781D
secondary
#5345AC
accent
#44E459
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6C781D

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

Preview Lab → · Contrast checker → · Palette generator →

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