#768A1A#768A1A

#768A1A is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.7% C 0.132 H 119.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#768A1A
RGBrgb(118, 138, 26)
HSLhsl(71, 68%, 32%)
HSVhsv(71, 81%, 54%)
CMYKcmyk(14.5%, 0%, 81.2%, 45.9%)
CIE-LABlab(54.14, -22.01, 52.49)
CIE-LCHlch(54.14, 56.92, 112.74°)
OKLaboklab(59.71% -0.0657 0.1147)
OKLCHoklch(59.71% 0.132 119.8)
XYZxyz(16.7465, 22.1032, 4.3612)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768A1A #2E1A8A
analogous
#8A661A #768A1A #3E8A1A
triadic
#768A1A #1A768A #8A1A76
tetradic
#768A1A #1A8A66 #2E1A8A #8A1A3E
square
#768A1A #1A8A66 #2E1A8A #8A1A3E
split-complementary
#768A1A #1A3E8A #661A8A
monochromatic
#1E2307 #4A5710 #768A1A #A2BD24 #C0DC43

Accessibility & contrast

On white

3.87
#768A1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#768A1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768A1A
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768A1A#FFFFFF#000000##000000
##768A1A1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#918225
Tritanopia (blue-blind)
#7D8276
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #768a1a;
/* rgb */ color: rgb(118, 138, 26);
/* oklch */ color: oklch(59.7% 0.132 119.8);
Tailwind
colors: {
  custom: {
    50: '#a1ac62',
    500: '#768a1a',
    950: '#000000',
  },
}
SCSS
$custom: #768a1a;
$custom-light: #a1ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#768a1a",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 26
  },
  "hsl": {
    "h": 70.714,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59713,
    "c": 0.13223,
    "h": 119.8
  },
  "luminance": 0.22103
}

Semantic roles & 50–950 ramp

primary
#768A1A
secondary
#5943BD
accent
#3DEB5C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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