#6E781A#6E781A

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

Color values

HEX#6E781A
RGBrgb(110, 120, 26)
HSLhsl(66, 64%, 29%)
HSVhsv(66, 78%, 47%)
CMYKcmyk(8.3%, 0%, 78.3%, 52.9%)
CIE-LABlab(48.04, -16.22, 46.68)
CIE-LCHlch(48.04, 49.42, 109.15°)
OKLaboklab(54.65% -0.0493 0.1027)
OKLCHoklch(54.65% 0.114 115.7)
XYZxyz(13.3337, 16.8227, 3.5218)
Luminance0.1682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E781A #241A78
analogous
#78531A #6E781A #3F781A
triadic
#6E781A #1A6E78 #781A6E
tetradic
#6E781A #1A7853 #241A78 #781A3F
square
#6E781A #1A7853 #241A78 #781A3F
split-complementary
#6E781A #1A3F78 #531A78
monochromatic
#171905 #40460F #6E781A #9CAA25 #C3D438

Accessibility & contrast

On white

4.81
#6E781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6E781A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E781A#FFFFFF#000000##FFFFFF
##6E781A1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817104
Deuteranopia (green-blind)
#807322
Tritanopia (blue-blind)
#757166
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6e781a;
/* rgb */ color: rgb(110, 120, 26);
/* oklch */ color: oklch(54.6% 0.114 115.7);
Tailwind
colors: {
  custom: {
    50: '#9b9e5f',
    500: '#6e781a',
    950: '#000000',
  },
}
SCSS
$custom: #6e781a;
$custom-light: #9b9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e781a",
  "rgb": {
    "r": 110,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 66.383,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54648,
    "c": 0.11392,
    "h": 115.7
  },
  "luminance": 0.16823
}

Semantic roles & 50–950 ramp

primary
#6E781A
secondary
#4D41AC
accent
#40E752
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6E781A

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

Preview Lab → · Contrast checker → · Palette generator →

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