#68781B#68781B

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

Color values

HEX#68781B
RGBrgb(104, 120, 27)
HSLhsl(70, 63%, 29%)
HSVhsv(70, 78%, 47%)
CMYKcmyk(13.3%, 0%, 77.5%, 52.9%)
CIE-LABlab(47.57, -18.89, 45.72)
CIE-LCHlch(47.57, 49.46, 112.45°)
OKLaboklab(54.15% -0.0563 0.101)
OKLCHoklch(54.15% 0.116 119.1)
XYZxyz(12.6235, 16.4552, 3.5479)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68781B #2B1B78
analogous
#785A1B #68781B #3A781B
triadic
#68781B #1B6878 #781B68
tetradic
#68781B #1B785A #2B1B78 #781B3A
square
#68781B #1B785A #2B1B78 #781B3A
split-complementary
#68781B #1B3A78 #5A1B78
monochromatic
#161906 #3D4610 #68781B #93AA26 #B9D33B

Accessibility & contrast

On white

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

On black

4.29
#68781B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##68781B#FFFFFF#000000##FFFFFF
##68781B1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807106
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#6E7166
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #68781b;
/* rgb */ color: rgb(104, 120, 27);
/* oklch */ color: oklch(54.2% 0.116 119.1);
Tailwind
colors: {
  custom: {
    50: '#969f5f',
    500: '#68781b',
    950: '#000000',
  },
}
SCSS
$custom: #68781b;
$custom-light: #969f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#68781b",
  "rgb": {
    "r": 104,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 70.323,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54153,
    "c": 0.11565,
    "h": 119.1
  },
  "luminance": 0.16455
}

Semantic roles & 50–950 ramp

primary
#68781B
secondary
#5543AC
accent
#41E65E
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #68781B

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

Preview Lab → · Contrast checker → · Palette generator →

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