#768A15#768A15

#768A15 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.7% C 0.134 H 119.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#768A15
RGBrgb(118, 138, 21)
HSLhsl(70, 74%, 31%)
HSVhsv(70, 85%, 54%)
CMYKcmyk(14.5%, 0%, 84.8%, 45.9%)
CIE-LABlab(54.11, -22.20, 53.89)
CIE-LCHlch(54.11, 58.29, 112.39°)
OKLaboklab(59.69% -0.0666 0.1168)
OKLCHoklch(59.69% 0.134 119.7)
XYZxyz(16.6954, 22.0827, 4.0922)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768A15 #29158A
analogous
#8A6315 #768A15 #3B8A15
triadic
#768A15 #15768A #8A1576
tetradic
#768A15 #158A63 #29158A #8A153B
square
#768A15 #158A63 #29158A #8A153B
split-complementary
#768A15 #153B8A #63158A
monochromatic
#1B2005 #49550D #768A15 #A3BF1D #C4E139

Accessibility & contrast

On white

3.88
#768A15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#768A15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768A15
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768A15#FFFFFF#000000##000000
##768A151.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#918222
Tritanopia (blue-blind)
#7D8275
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #768a15;
/* rgb */ color: rgb(118, 138, 21);
/* oklch */ color: oklch(59.7% 0.134 119.7);
Tailwind
colors: {
  custom: {
    50: '#a1ac60',
    500: '#768a15',
    950: '#000000',
  },
}
SCSS
$custom: #768a15;
$custom-light: #a1ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#768a15",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 21
  },
  "hsl": {
    "h": 70.256,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59688,
    "c": 0.13449,
    "h": 119.7
  },
  "luminance": 0.22083
}

Semantic roles & 50–950 ramp

primary
#768A15
secondary
#533DBE
accent
#38F057
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768A15

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

Preview Lab → · Contrast checker → · Palette generator →

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