#6D781F#6D781F

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

Color values

HEX#6D781F
RGBrgb(109, 120, 31)
HSLhsl(67, 59%, 30%)
HSVhsv(67, 74%, 47%)
CMYKcmyk(9.2%, 0%, 74.2%, 52.9%)
CIE-LABlab(47.99, -16.41, 44.75)
CIE-LCHlch(47.99, 47.67, 110.14°)
OKLaboklab(54.6% -0.0493 0.0996)
OKLCHoklch(54.6% 0.111 116.4)
XYZxyz(13.2708, 16.7833, 3.8365)
Luminance0.1678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D781F #2A1F78
analogous
#78571F #6D781F #41781F
triadic
#6D781F #1F6D78 #781F6D
tetradic
#6D781F #1F7857 #2A1F78 #781F41
square
#6D781F #1F7857 #2A1F78 #781F41
split-complementary
#6D781F #1F4178 #571F78
monochromatic
#161806 #414712 #6D781F #99A92C #BDCE43

Accessibility & contrast

On white

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

On black

4.36
#6D781F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6D781F#FFFFFF#000000##FFFFFF
##6D781F1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d781f;
/* rgb */ color: rgb(109, 120, 31);
/* oklch */ color: oklch(54.6% 0.111 116.4);
Tailwind
colors: {
  custom: {
    50: '#9a9e61',
    500: '#6d781f',
    950: '#000000',
  },
}
SCSS
$custom: #6d781f;
$custom-light: #9a9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#6d781f",
  "rgb": {
    "r": 109,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 67.416,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54598,
    "c": 0.11112,
    "h": 116.4
  },
  "luminance": 0.16783
}

Semantic roles & 50–950 ramp

primary
#6D781F
secondary
#5447AB
accent
#46E259
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A

Preview Lab

Preview with #6D781F

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

Preview Lab → · Contrast checker → · Palette generator →

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