#6E781F#6E781F

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

Color values

HEX#6E781F
RGBrgb(110, 120, 31)
HSLhsl(67, 59%, 30%)
HSVhsv(67, 74%, 47%)
CMYKcmyk(8.3%, 0%, 74.2%, 52.9%)
CIE-LABlab(48.07, -15.95, 44.86)
CIE-LCHlch(48.07, 47.61, 109.58°)
OKLaboklab(54.68% -0.0481 0.0998)
OKLCHoklch(54.68% 0.111 115.8)
XYZxyz(13.3945, 16.8471, 3.8423)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E781F #291F78
analogous
#78561F #6E781F #41781F
triadic
#6E781F #1F6E78 #781F6E
tetradic
#6E781F #1F7856 #291F78 #781F41
square
#6E781F #1F7856 #291F78 #781F41
split-complementary
#6E781F #1F4178 #561F78
monochromatic
#161806 #414712 #6E781F #9BA92C #BFCE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E781F#FFFFFF#000000##FFFFFF
##6E781F1.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)
#81720F
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#757167
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6e781f;
/* rgb */ color: rgb(110, 120, 31);
/* oklch */ color: oklch(54.7% 0.111 115.8);
Tailwind
colors: {
  custom: {
    50: '#9a9e61',
    500: '#6e781f',
    950: '#000000',
  },
}
SCSS
$custom: #6e781f;
$custom-light: #9a9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#6e781f",
  "rgb": {
    "r": 110,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 66.742,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54683,
    "c": 0.11077,
    "h": 115.8
  },
  "luminance": 0.16847
}

Semantic roles & 50–950 ramp

primary
#6E781F
secondary
#5347AB
accent
#46E257
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A

Preview Lab

Preview with #6E781F

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

Preview Lab → · Contrast checker → · Palette generator →

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