#768918#768918

#768918 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.5% C 0.132 H 119.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#768918
RGBrgb(118, 137, 24)
HSLhsl(70, 70%, 32%)
HSVhsv(70, 82%, 54%)
CMYKcmyk(13.9%, 0%, 82.5%, 46.3%)
CIE-LABlab(53.82, -21.58, 52.81)
CIE-LCHlch(53.82, 57.05, 112.23°)
OKLaboklab(59.46% -0.0647 0.115)
OKLCHoklch(59.46% 0.132 119.4)
XYZxyz(16.5821, 21.8089, 4.2000)
Luminance0.2181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768918 #2B1889
analogous
#896418 #768918 #3E8918
triadic
#768918 #187689 #891876
tetradic
#768918 #188964 #2B1889 #89183E
square
#768918 #188964 #2B1889 #89183E
split-complementary
#768918 #183E89 #641889
monochromatic
#1C2106 #49550F #768918 #A3BD21 #C2DD3E

Accessibility & contrast

On white

3.92
#768918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#768918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768918
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768918#FFFFFF#000000##000000
##7689181.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#7D8175
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #768918;
/* rgb */ color: rgb(118, 137, 24);
/* oklch */ color: oklch(59.5% 0.132 119.4);
Tailwind
colors: {
  custom: {
    50: '#a1ab61',
    500: '#768918',
    950: '#000000',
  },
}
SCSS
$custom: #768918;
$custom-light: #a1ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#768918",
  "rgb": {
    "r": 118,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 70.088,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.59458,
    "c": 0.13199,
    "h": 119.4
  },
  "luminance": 0.21809
}

Semantic roles & 50–950 ramp

primary
#768918
secondary
#5540BD
accent
#3BED59
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768918

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

Preview Lab → · Contrast checker → · Palette generator →

#768918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva