#768C1A#768C1A

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

Color values

HEX#768C1A
RGBrgb(118, 140, 26)
HSLhsl(72, 69%, 33%)
HSVhsv(72, 81%, 55%)
CMYKcmyk(15.7%, 0%, 81.4%, 45.1%)
CIE-LABlab(54.74, -23.02, 53.04)
CIE-LCHlch(54.74, 57.82, 113.46°)
OKLaboklab(60.2% -0.0685 0.1159)
OKLCHoklch(60.2% 0.135 120.6)
XYZxyz(17.0361, 22.6823, 4.4577)
Luminance0.2268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768C1A #301A8C
analogous
#8C691A #768C1A #3D8C1A
triadic
#768C1A #1A768C #8C1A76
tetradic
#768C1A #1A8C69 #301A8C #8C1A3D
square
#768C1A #1A8C69 #301A8C #8C1A3D
split-complementary
#768C1A #1A3D8C #691A8C
monochromatic
#1F2507 #4A5810 #768C1A #A2C024 #BFDC44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768C1A#FFFFFF#000000##000000
##768C1A1.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)
#938326
Tritanopia (blue-blind)
#7D8477
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768c1a;
/* rgb */ color: rgb(118, 140, 26);
/* oklch */ color: oklch(60.2% 0.135 120.6);
Tailwind
colors: {
  custom: {
    50: '#a1ad62',
    500: '#768c1a',
    950: '#000000',
  },
}
SCSS
$custom: #768c1a;
$custom-light: #a1ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#768c1a",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 71.579,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60202,
    "c": 0.13462,
    "h": 120.6
  },
  "luminance": 0.22682
}

Semantic roles & 50–950 ramp

primary
#768C1A
secondary
#5C44BE
accent
#3CEC5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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