#768B1E#768B1E

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

Color values

HEX#768B1E
RGBrgb(118, 139, 30)
HSLhsl(72, 64%, 33%)
HSVhsv(72, 78%, 55%)
CMYKcmyk(15.1%, 0%, 78.4%, 45.5%)
CIE-LABlab(54.46, -22.33, 51.52)
CIE-LCHlch(54.46, 56.15, 113.44°)
OKLaboklab(59.98% -0.0663 0.1134)
OKLCHoklch(59.98% 0.131 120.3)
XYZxyz(16.9385, 22.4106, 4.6614)
Luminance0.2241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768B1E #331E8B
analogous
#8B691E #768B1E #3F8B1E
triadic
#768B1E #1E768B #8B1E76
tetradic
#768B1E #1E8B69 #331E8B #8B1E3F
square
#768B1E #1E8B69 #331E8B #8B1E3F
split-complementary
#768B1E #1E3F8B #691E8B
monochromatic
#212608 #4B5913 #768B1E #A1BD29 #BDD84B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768B1E#FFFFFF#000000##000000
##768B1E1.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)
#948202
Deuteranopia (green-blind)
#928228
Tritanopia (blue-blind)
#7D8377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #768b1e;
/* rgb */ color: rgb(118, 139, 30);
/* oklch */ color: oklch(60.0% 0.131 120.3);
Tailwind
colors: {
  custom: {
    50: '#a1ac63',
    500: '#768b1e',
    950: '#000000',
  },
}
SCSS
$custom: #768b1e;
$custom-light: #a1ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#768b1e",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 71.56,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5998,
    "c": 0.13134,
    "h": 120.3
  },
  "luminance": 0.22411
}

Semantic roles & 50–950 ramp

primary
#768B1E
secondary
#604ABB
accent
#40E761
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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