#768D1A#768D1A

#768D1A is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 60.4% C 0.136 H 121.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#768D1A
RGBrgb(118, 141, 26)
HSLhsl(72, 69%, 33%)
HSVhsv(72, 82%, 55%)
CMYKcmyk(16.3%, 0%, 81.6%, 44.7%)
CIE-LABlab(55.05, -23.52, 53.31)
CIE-LCHlch(55.05, 58.27, 113.81°)
OKLaboklab(60.45% -0.0699 0.1165)
OKLCHoklch(60.45% 0.136 121)
XYZxyz(17.1829, 22.9759, 4.5067)
Luminance0.2298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768D1A #311A8D
analogous
#8D6A1A #768D1A #3C8D1A
triadic
#768D1A #1A768D #8D1A76
tetradic
#768D1A #1A8D6A #311A8D #8D1A3C
square
#768D1A #1A8D6A #311A8D #8D1A3C
split-complementary
#768D1A #1A3C8D #6A1A8D
monochromatic
#202607 #4B5910 #768D1A #A1C124 #BEDD45

Accessibility & contrast

On white

3.75
#768D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#768D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768D1A
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768D1A#FFFFFF#000000##000000
##768D1A1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#938426
Tritanopia (blue-blind)
#7D8578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #768d1a;
/* rgb */ color: rgb(118, 141, 26);
/* oklch */ color: oklch(60.4% 0.136 121.0);
Tailwind
colors: {
  custom: {
    50: '#a1ae62',
    500: '#768d1a',
    950: '#000000',
  },
}
SCSS
$custom: #768d1a;
$custom-light: #a1ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#768d1a",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 72,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60448,
    "c": 0.13582,
    "h": 121
  },
  "luminance": 0.22976
}

Semantic roles & 50–950 ramp

primary
#768D1A
secondary
#5D45BE
accent
#3CEC5F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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