#68781F#68781F

#68781F is a mid, moderate yellow-green. Relative luminance 0.165; OKLCH L 54.2% C 0.113 H 119.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#68781F
RGBrgb(104, 120, 31)
HSLhsl(71, 59%, 30%)
HSVhsv(71, 74%, 47%)
CMYKcmyk(13.3%, 0%, 74.2%, 52.9%)
CIE-LABlab(47.59, -18.66, 44.23)
CIE-LCHlch(47.59, 48.01, 112.88°)
OKLaboklab(54.18% -0.0553 0.0986)
OKLCHoklch(54.18% 0.113 119.3)
XYZxyz(12.6730, 16.4750, 3.8084)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68781F #2F1F78
analogous
#785C1F #68781F #3B781F
triadic
#68781F #1F6878 #781F68
tetradic
#68781F #1F785C #2F1F78 #781F3B
square
#68781F #1F785C #2F1F78 #781F3B
split-complementary
#68781F #1F3B78 #5C1F78
monochromatic
#151806 #3E4712 #68781F #92A92C #B5CE43

Accessibility & contrast

On white

4.89
#68781F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#68781F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #68781F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68781F#FFFFFF#000000##FFFFFF
##68781F1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710F
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#6E7167
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #68781f;
/* rgb */ color: rgb(104, 120, 31);
/* oklch */ color: oklch(54.2% 0.113 119.3);
Tailwind
colors: {
  custom: {
    50: '#969f61',
    500: '#68781f',
    950: '#000000',
  },
}
SCSS
$custom: #68781f;
$custom-light: #969f61;
$custom-dark: #000000;
JSON
{
  "hex": "#68781f",
  "rgb": {
    "r": 104,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 70.787,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54182,
    "c": 0.11307,
    "h": 119.3
  },
  "luminance": 0.16475
}

Semantic roles & 50–950 ramp

primary
#68781F
secondary
#5947AB
accent
#46E262
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A

Preview Lab

Preview with #68781F

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

Preview Lab → · Contrast checker → · Palette generator →

#68781F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva