#768C1E#768C1E

#768C1E 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#768C1E
RGBrgb(118, 140, 30)
HSLhsl(72, 65%, 33%)
HSVhsv(72, 79%, 55%)
CMYKcmyk(15.7%, 0%, 78.6%, 45.1%)
CIE-LABlab(54.76, -22.84, 51.80)
CIE-LCHlch(54.76, 56.61, 113.79°)
OKLaboklab(60.22% -0.0677 0.114)
OKLCHoklch(60.22% 0.133 120.7)
XYZxyz(17.0840, 22.7015, 4.7099)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768C1E #341E8C
analogous
#8C6B1E #768C1E #3F8C1E
triadic
#768C1E #1E768C #8C1E76
tetradic
#768C1E #1E8C6B #341E8C #8C1E3F
square
#768C1E #1E8C6B #341E8C #8C1E3F
split-complementary
#768C1E #1E3F8C #6B1E8C
monochromatic
#212708 #4C5A13 #768C1E #A0BE29 #BCD94C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768C1E#FFFFFF#000000##000000
##768C1E1.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)
#958301
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#7D8477
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768c1e;
/* rgb */ color: rgb(118, 140, 30);
/* oklch */ color: oklch(60.2% 0.133 120.7);
Tailwind
colors: {
  custom: {
    50: '#a1ad64',
    500: '#768c1e',
    950: '#000000',
  },
}
SCSS
$custom: #768c1e;
$custom-light: #a1ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#768c1e",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 72,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60225,
    "c": 0.13256,
    "h": 120.7
  },
  "luminance": 0.22701
}

Semantic roles & 50–950 ramp

primary
#768C1E
secondary
#614BBB
accent
#40E862
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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