#768B1C#768B1C

#768B1C 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#768B1C
RGBrgb(118, 139, 28)
HSLhsl(71, 66%, 33%)
HSVhsv(71, 80%, 55%)
CMYKcmyk(15.1%, 0%, 79.9%, 45.5%)
CIE-LABlab(54.45, -22.43, 52.16)
CIE-LCHlch(54.45, 56.77, 113.27°)
OKLaboklab(59.97% -0.0667 0.1144)
OKLCHoklch(59.97% 0.132 120.3)
XYZxyz(16.9138, 22.4007, 4.5311)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768B1C #311C8B
analogous
#8B681C #768B1C #3F8B1C
triadic
#768B1C #1C768B #8B1C76
tetradic
#768B1C #1C8B68 #311C8B #8B1C3F
square
#768B1C #1C8B68 #311C8B #8B1C3F
split-complementary
#768B1C #1C3F8B #681C8B
monochromatic
#202507 #4B5812 #768B1C #A1BE26 #BEDA47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #768b1c;
/* rgb */ color: rgb(118, 139, 28);
/* oklch */ color: oklch(60.0% 0.132 120.3);
Tailwind
colors: {
  custom: {
    50: '#a1ac63',
    500: '#768b1c',
    950: '#000000',
  },
}
SCSS
$custom: #768b1c;
$custom-light: #a1ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#768b1c",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 71.351,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59968,
    "c": 0.13242,
    "h": 120.3
  },
  "luminance": 0.22401
}

Semantic roles & 50–950 ramp

primary
#768B1C
secondary
#5D47BC
accent
#3EE95F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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