#768C18#768C18

#768C18 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.2% C 0.136 H 120.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#768C18
RGBrgb(118, 140, 24)
HSLhsl(71, 71%, 32%)
HSVhsv(71, 83%, 55%)
CMYKcmyk(15.7%, 0%, 82.9%, 45.1%)
CIE-LABlab(54.73, -23.10, 53.62)
CIE-LCHlch(54.73, 58.38, 113.31°)
OKLaboklab(60.19% -0.0689 0.1168)
OKLCHoklch(60.19% 0.136 120.5)
XYZxyz(17.0145, 22.6737, 4.3441)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768C18 #2E188C
analogous
#8C6818 #768C18 #3C8C18
triadic
#768C18 #18768C #8C1876
tetradic
#768C18 #188C68 #2E188C #8C183C
square
#768C18 #188C68 #2E188C #8C183C
split-complementary
#768C18 #183C8C #68188C
monochromatic
#1E2406 #4A580F #768C18 #A2C021 #C0DE40

Accessibility & contrast

On white

3.79
#768C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#768C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768C18
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768C18#FFFFFF#000000##000000
##768C181.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#938324
Tritanopia (blue-blind)
#7D8477
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768c18;
/* rgb */ color: rgb(118, 140, 24);
/* oklch */ color: oklch(60.2% 0.136 120.5);
Tailwind
colors: {
  custom: {
    50: '#a1ad61',
    500: '#768c18',
    950: '#000000',
  },
}
SCSS
$custom: #768c18;
$custom-light: #a1ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#768c18",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 71.379,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60192,
    "c": 0.13555,
    "h": 120.5
  },
  "luminance": 0.22674
}

Semantic roles & 50–950 ramp

primary
#768C18
secondary
#5941BF
accent
#3AED5C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768C18

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

Preview Lab → · Contrast checker → · Palette generator →

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