#768B1A#768B1A

#768B1A is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 60.0% C 0.133 H 120.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#768B1A
RGBrgb(118, 139, 26)
HSLhsl(71, 68%, 32%)
HSVhsv(71, 81%, 55%)
CMYKcmyk(15.1%, 0%, 81.3%, 45.5%)
CIE-LABlab(54.44, -22.51, 52.77)
CIE-LCHlch(54.44, 57.37, 113.10°)
OKLaboklab(59.96% -0.0671 0.1153)
OKLCHoklch(59.96% 0.133 120.2)
XYZxyz(16.8906, 22.3914, 4.4092)
Luminance0.2239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768B1A #2F1A8B
analogous
#8B671A #768B1A #3E8B1A
triadic
#768B1A #1A768B #8B1A76
tetradic
#768B1A #1A8B67 #2F1A8B #8B1A3E
square
#768B1A #1A8B67 #2F1A8B #8B1A3E
split-complementary
#768B1A #1A3E8B #671A8B
monochromatic
#1E2407 #4A5710 #768B1A #A2BF24 #C0DC43

Accessibility & contrast

On white

3.83
#768B1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#768B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768B1A
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768B1A#FFFFFF#000000##000000
##768B1A1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#928226
Tritanopia (blue-blind)
#7D8376
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #768b1a;
/* rgb */ color: rgb(118, 139, 26);
/* oklch */ color: oklch(60.0% 0.133 120.2);
Tailwind
colors: {
  custom: {
    50: '#a1ac62',
    500: '#768b1a',
    950: '#000000',
  },
}
SCSS
$custom: #768b1a;
$custom-light: #a1ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#768b1a",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 71.15,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59957,
    "c": 0.13342,
    "h": 120.2
  },
  "luminance": 0.22391
}

Semantic roles & 50–950 ramp

primary
#768B1A
secondary
#5A44BD
accent
#3CEB5D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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