#6A781D#6A781D

#6A781D is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.3% C 0.114 H 118.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#6A781D
RGBrgb(106, 120, 29)
HSLhsl(69, 61%, 29%)
HSVhsv(69, 76%, 47%)
CMYKcmyk(11.7%, 0%, 75.8%, 52.9%)
CIE-LABlab(47.73, -17.88, 45.19)
CIE-LCHlch(47.73, 48.60, 111.58°)
OKLaboklab(54.33% -0.0534 0.1002)
OKLCHoklch(54.33% 0.114 118.1)
XYZxyz(12.8824, 16.5859, 3.6849)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A781D #2B1D78
analogous
#78591D #6A781D #3D781D
triadic
#6A781D #1D6A78 #781D6A
tetradic
#6A781D #1D7859 #2B1D78 #781D3D
square
#6A781D #1D7859 #2B1D78 #781D3D
split-complementary
#6A781D #1D3D78 #591D78
monochromatic
#161906 #3E4711 #6A781D #96A929 #BAD13F

Accessibility & contrast

On white

4.86
#6A781D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#6A781D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A781D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A781D#FFFFFF#000000##FFFFFF
##6A781D1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a781d;
/* rgb */ color: rgb(106, 120, 29);
/* oklch */ color: oklch(54.3% 0.114 118.1);
Tailwind
colors: {
  custom: {
    50: '#979e60',
    500: '#6a781d',
    950: '#000000',
  },
}
SCSS
$custom: #6a781d;
$custom-light: #979e60;
$custom-dark: #000000;
JSON
{
  "hex": "#6a781d",
  "rgb": {
    "r": 106,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 69.231,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54331,
    "c": 0.11358,
    "h": 118.1
  },
  "luminance": 0.16586
}

Semantic roles & 50–950 ramp

primary
#6A781D
secondary
#5545AC
accent
#44E45C
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A781D

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

Preview Lab → · Contrast checker → · Palette generator →

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