#6D781A#6D781A

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

Color values

HEX#6D781A
RGBrgb(109, 120, 26)
HSLhsl(67, 64%, 29%)
HSVhsv(67, 78%, 47%)
CMYKcmyk(9.2%, 0%, 78.3%, 52.9%)
CIE-LABlab(47.95, -16.67, 46.58)
CIE-LCHlch(47.95, 49.47, 109.69°)
OKLaboklab(54.56% -0.0506 0.1025)
OKLCHoklch(54.56% 0.114 116.3)
XYZxyz(13.2099, 16.7589, 3.5160)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D781A #251A78
analogous
#78541A #6D781A #3E781A
triadic
#6D781A #1A6D78 #781A6D
tetradic
#6D781A #1A7854 #251A78 #781A3E
square
#6D781A #1A7854 #251A78 #781A3E
split-complementary
#6D781A #1A3E78 #541A78
monochromatic
#171905 #3F460F #6D781A #9BAA25 #C2D438

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D781A#FFFFFF#000000##FFFFFF
##6D781A1.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)
#817104
Deuteranopia (green-blind)
#807222
Tritanopia (blue-blind)
#747166
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6d781a;
/* rgb */ color: rgb(109, 120, 26);
/* oklch */ color: oklch(54.6% 0.114 116.3);
Tailwind
colors: {
  custom: {
    50: '#9a9e5f',
    500: '#6d781a',
    950: '#000000',
  },
}
SCSS
$custom: #6d781a;
$custom-light: #9a9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d781a",
  "rgb": {
    "r": 109,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 67.021,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54563,
    "c": 0.11428,
    "h": 116.3
  },
  "luminance": 0.16759
}

Semantic roles & 50–950 ramp

primary
#6D781A
secondary
#4E41AC
accent
#40E754
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D781A

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

Preview Lab → · Contrast checker → · Palette generator →

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