#768F18#768F18

#768F18 is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 60.9% C 0.139 H 121.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#768F18
RGBrgb(118, 143, 24)
HSLhsl(73, 71%, 33%)
HSVhsv(73, 83%, 56%)
CMYKcmyk(17.5%, 0%, 83.2%, 43.9%)
CIE-LABlab(55.65, -24.60, 54.42)
CIE-LCHlch(55.65, 59.72, 114.32°)
OKLaboklab(60.93% -0.073 0.1185)
OKLCHoklch(60.93% 0.139 121.6)
XYZxyz(17.4589, 23.5624, 4.4922)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F18 #31188F
analogous
#8F6C18 #768F18 #3B8F18
triadic
#768F18 #18768F #8F1876
tetradic
#768F18 #188F6C #31188F #8F183B
square
#768F18 #188F6C #31188F #8F183B
split-complementary
#768F18 #183B8F #6C188F
monochromatic
#202606 #4B5B0F #768F18 #A1C321 #BEDF42

Accessibility & contrast

On white

3.68
#768F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#768F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768F18
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768F18#FFFFFF#000000##000000
##768F181.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#958525
Tritanopia (blue-blind)
#7D877A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768f18;
/* rgb */ color: rgb(118, 143, 24);
/* oklch */ color: oklch(60.9% 0.139 121.6);
Tailwind
colors: {
  custom: {
    50: '#a1af62',
    500: '#768f18',
    950: '#000000',
  },
}
SCSS
$custom: #768f18;
$custom-light: #a1af62;
$custom-dark: #000000;
JSON
{
  "hex": "#768f18",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 72.605,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60929,
    "c": 0.13914,
    "h": 121.6
  },
  "luminance": 0.23562
}

Semantic roles & 50–950 ramp

primary
#768F18
secondary
#5D43C0
accent
#3AEE60
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768F18

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

Preview Lab → · Contrast checker → · Palette generator →

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