#6B781E#6B781E

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

Color values

HEX#6B781E
RGBrgb(107, 120, 30)
HSLhsl(69, 60%, 29%)
HSVhsv(69, 75%, 47%)
CMYKcmyk(10.8%, 0%, 75%, 52.9%)
CIE-LABlab(47.82, -17.37, 44.92)
CIE-LCHlch(47.82, 48.17, 111.14°)
OKLaboklab(54.42% -0.052 0.0998)
OKLCHoklch(54.42% 0.113 117.5)
XYZxyz(13.0145, 16.6526, 3.7567)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B781E #2B1E78
analogous
#78581E #6B781E #3E781E
triadic
#6B781E #1E6B78 #781E6B
tetradic
#6B781E #1E7858 #2B1E78 #781E3E
square
#6B781E #1E7858 #2B1E78 #781E3E
split-complementary
#6B781E #1E3E78 #581E78
monochromatic
#161806 #3F4712 #6B781E #97A92A #BBCF41

Accessibility & contrast

On white

4.85
#6B781E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#6B781E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B781E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B781E#FFFFFF#000000##FFFFFF
##6B781E1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710D
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#727167
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6b781e;
/* rgb */ color: rgb(107, 120, 30);
/* oklch */ color: oklch(54.4% 0.113 117.5);
Tailwind
colors: {
  custom: {
    50: '#989e61',
    500: '#6b781e',
    950: '#000000',
  },
}
SCSS
$custom: #6b781e;
$custom-light: #989e61;
$custom-dark: #000000;
JSON
{
  "hex": "#6b781e",
  "rgb": {
    "r": 107,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 68.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54422,
    "c": 0.11254,
    "h": 117.5
  },
  "luminance": 0.16652
}

Semantic roles & 50–950 ramp

primary
#6B781E
secondary
#5546AC
accent
#45E35C
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B781E

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

Preview Lab → · Contrast checker → · Palette generator →

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