#768D18#768D18

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

Color values

HEX#768D18
RGBrgb(118, 141, 24)
HSLhsl(72, 71%, 32%)
HSVhsv(72, 83%, 55%)
CMYKcmyk(16.3%, 0%, 83%, 44.7%)
CIE-LABlab(55.04, -23.60, 53.88)
CIE-LCHlch(55.04, 58.83, 113.65°)
OKLaboklab(60.44% -0.0703 0.1173)
OKLCHoklch(60.44% 0.137 120.9)
XYZxyz(17.1613, 22.9673, 4.3930)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768D18 #2F188D
analogous
#8D6A18 #768D18 #3B8D18
triadic
#768D18 #18768D #8D1876
tetradic
#768D18 #188D6A #2F188D #8D183B
square
#768D18 #188D6A #2F188D #8D183B
split-complementary
#768D18 #183B8D #6A188D
monochromatic
#1E2406 #4A590F #768D18 #A2C121 #C0DF41

Accessibility & contrast

On white

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

On black

5.59
#768D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768D18
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768D18#FFFFFF#000000##000000
##768D181.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #768d18;
/* rgb */ color: rgb(118, 141, 24);
/* oklch */ color: oklch(60.4% 0.137 120.9);
Tailwind
colors: {
  custom: {
    50: '#a1ae61',
    500: '#768d18',
    950: '#000000',
  },
}
SCSS
$custom: #768d18;
$custom-light: #a1ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#768d18",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 71.795,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60438,
    "c": 0.13676,
    "h": 120.9
  },
  "luminance": 0.22967
}

Semantic roles & 50–950 ramp

primary
#768D18
secondary
#5A42BF
accent
#3AEE5D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768D18

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

Preview Lab → · Contrast checker → · Palette generator →

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