#768B1D#768B1D

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

Color values

HEX#768B1D
RGBrgb(118, 139, 29)
HSLhsl(71, 65%, 33%)
HSVhsv(71, 79%, 55%)
CMYKcmyk(15.1%, 0%, 79.1%, 45.5%)
CIE-LABlab(54.45, -22.38, 51.84)
CIE-LCHlch(54.45, 56.47, 113.35°)
OKLaboklab(59.97% -0.0665 0.1139)
OKLCHoklch(59.97% 0.132 120.3)
XYZxyz(16.9259, 22.4056, 4.5952)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768B1D #321D8B
analogous
#8B691D #768B1D #3F8B1D
triadic
#768B1D #1D768B #8B1D76
tetradic
#768B1D #1D8B69 #321D8B #8B1D3F
square
#768B1D #1D8B69 #321D8B #8B1D3F
split-complementary
#768B1D #1D3F8B #691D8B
monochromatic
#202608 #4B5812 #768B1D #A1BE28 #BED949

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768B1D#FFFFFF#000000##000000
##768B1D1.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)
#928228
Tritanopia (blue-blind)
#7D8377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #768b1d;
/* rgb */ color: rgb(118, 139, 29);
/* oklch */ color: oklch(60.0% 0.132 120.3);
Tailwind
colors: {
  custom: {
    50: '#a1ac63',
    500: '#768b1d',
    950: '#000000',
  },
}
SCSS
$custom: #768b1d;
$custom-light: #a1ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#768b1d",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 71.455,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59974,
    "c": 0.13189,
    "h": 120.3
  },
  "luminance": 0.22405
}

Semantic roles & 50–950 ramp

primary
#768B1D
secondary
#5E49BB
accent
#3FE860
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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