#6E781D#6E781D

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

Color values

HEX#6E781D
RGBrgb(110, 120, 29)
HSLhsl(67, 61%, 29%)
HSVhsv(67, 76%, 47%)
CMYKcmyk(8.3%, 0%, 75.8%, 52.9%)
CIE-LABlab(48.05, -16.06, 45.61)
CIE-LCHlch(48.05, 48.36, 109.40°)
OKLaboklab(54.67% -0.0486 0.101)
OKLCHoklch(54.67% 0.112 115.7)
XYZxyz(13.3690, 16.8369, 3.7077)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E781D #271D78
analogous
#78551D #6E781D #41781D
triadic
#6E781D #1D6E78 #781D6E
tetradic
#6E781D #1D7855 #271D78 #781D41
square
#6E781D #1D7855 #271D78 #781D41
split-complementary
#6E781D #1D4178 #551D78
monochromatic
#171906 #414711 #6E781D #9BA929 #C1D13F

Accessibility & contrast

On white

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

On black

4.37
#6E781D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6E781D#FFFFFF#000000##FFFFFF
##6E781D1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720B
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#757167
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6e781d;
/* rgb */ color: rgb(110, 120, 29);
/* oklch */ color: oklch(54.7% 0.112 115.7);
Tailwind
colors: {
  custom: {
    50: '#9a9e60',
    500: '#6e781d',
    950: '#000000',
  },
}
SCSS
$custom: #6e781d;
$custom-light: #9a9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#6e781d",
  "rgb": {
    "r": 110,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 66.593,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54668,
    "c": 0.11209,
    "h": 115.7
  },
  "luminance": 0.16837
}

Semantic roles & 50–950 ramp

primary
#6E781D
secondary
#5045AC
accent
#44E455
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6E781D

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

Preview Lab → · Contrast checker → · Palette generator →

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