#768B18#768B18

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

Color values

HEX#768B18
RGBrgb(118, 139, 24)
HSLhsl(71, 71%, 32%)
HSVhsv(71, 83%, 55%)
CMYKcmyk(15.1%, 0%, 82.7%, 45.5%)
CIE-LABlab(54.43, -22.59, 53.35)
CIE-LCHlch(54.43, 57.93, 112.95°)
OKLaboklab(59.95% -0.0675 0.1162)
OKLCHoklch(59.95% 0.134 120.2)
XYZxyz(16.8690, 22.3828, 4.2956)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768B18 #2D188B
analogous
#8B6718 #768B18 #3C8B18
triadic
#768B18 #18768B #8B1876
tetradic
#768B18 #188B67 #2D188B #8B183C
square
#768B18 #188B67 #2D188B #8B183C
split-complementary
#768B18 #183C8B #67188B
monochromatic
#1D2306 #4A570F #768B18 #A2BF21 #C1DE3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768B18#FFFFFF#000000##000000
##768B181.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)
#928224
Tritanopia (blue-blind)
#7D8376
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #768b18;
/* rgb */ color: rgb(118, 139, 24);
/* oklch */ color: oklch(59.9% 0.134 120.2);
Tailwind
colors: {
  custom: {
    50: '#a1ac61',
    500: '#768b18',
    950: '#000000',
  },
}
SCSS
$custom: #768b18;
$custom-light: #a1ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#768b18",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 70.957,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59947,
    "c": 0.13437,
    "h": 120.2
  },
  "luminance": 0.22383
}

Semantic roles & 50–950 ramp

primary
#768B18
secondary
#5740BE
accent
#3AED5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768B18

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

Preview Lab → · Contrast checker → · Palette generator →

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