#6D781D#6D781D

#6D781D 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#6D781D
RGBrgb(109, 120, 29)
HSLhsl(67, 61%, 29%)
HSVhsv(67, 76%, 47%)
CMYKcmyk(9.2%, 0%, 75.8%, 52.9%)
CIE-LABlab(47.97, -16.52, 45.51)
CIE-LCHlch(47.97, 48.41, 109.95°)
OKLaboklab(54.58% -0.0499 0.1008)
OKLCHoklch(54.58% 0.112 116.3)
XYZxyz(13.2453, 16.7730, 3.7019)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D781D #281D78
analogous
#78561D #6D781D #40781D
triadic
#6D781D #1D6D78 #781D6D
tetradic
#6D781D #1D7856 #281D78 #781D40
square
#6D781D #1D7856 #281D78 #781D40
split-complementary
#6D781D #1D4078 #561D78
monochromatic
#161906 #404711 #6D781D #9AA929 #BFD13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D781D#FFFFFF#000000##FFFFFF
##6D781D1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d781d;
/* rgb */ color: rgb(109, 120, 29);
/* oklch */ color: oklch(54.6% 0.112 116.3);
Tailwind
colors: {
  custom: {
    50: '#9a9e60',
    500: '#6d781d',
    950: '#000000',
  },
}
SCSS
$custom: #6d781d;
$custom-light: #9a9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#6d781d",
  "rgb": {
    "r": 109,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 67.253,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54583,
    "c": 0.11245,
    "h": 116.3
  },
  "luminance": 0.16773
}

Semantic roles & 50–950 ramp

primary
#6D781D
secondary
#5145AC
accent
#44E457
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D781D

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

Preview Lab → · Contrast checker → · Palette generator →

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