#768C1D#768C1D

#768C1D is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.2% C 0.133 H 120.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#768C1D
RGBrgb(118, 140, 29)
HSLhsl(72, 66%, 33%)
HSVhsv(72, 79%, 55%)
CMYKcmyk(15.7%, 0%, 79.3%, 45.1%)
CIE-LABlab(54.76, -22.89, 52.12)
CIE-LCHlch(54.76, 56.92, 113.71°)
OKLaboklab(60.22% -0.0679 0.1145)
OKLCHoklch(60.22% 0.133 120.7)
XYZxyz(17.0714, 22.6965, 4.6437)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768C1D #331D8C
analogous
#8C6A1D #768C1D #3E8C1D
triadic
#768C1D #1D768C #8C1D76
tetradic
#768C1D #1D8C6A #331D8C #8C1D3E
square
#768C1D #1D8C6A #331D8C #8C1D3E
split-complementary
#768C1D #1D3E8C #6A1D8C
monochromatic
#212708 #4B5912 #768C1D #A1BF28 #BDD94A

Accessibility & contrast

On white

3.79
#768C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#768C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768C1D
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768C1D#FFFFFF#000000##000000
##768C1D1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#7D8477
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768c1d;
/* rgb */ color: rgb(118, 140, 29);
/* oklch */ color: oklch(60.2% 0.133 120.7);
Tailwind
colors: {
  custom: {
    50: '#a1ad63',
    500: '#768c1d',
    950: '#000000',
  },
}
SCSS
$custom: #768c1d;
$custom-light: #a1ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#768c1d",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 71.892,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60219,
    "c": 0.1331,
    "h": 120.7
  },
  "luminance": 0.22696
}

Semantic roles & 50–950 ramp

primary
#768C1D
secondary
#6049BC
accent
#3FE961
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768C1D

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

Preview Lab → · Contrast checker → · Palette generator →

#768C1D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva