#768D27#768D27

#768D27 is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 60.5% C 0.128 H 121.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#768D27
RGBrgb(118, 141, 39)
HSLhsl(74, 57%, 35%)
HSVhsv(74, 72%, 55%)
CMYKcmyk(16.3%, 0%, 72.3%, 44.7%)
CIE-LABlab(55.12, -22.86, 48.90)
CIE-LCHlch(55.12, 53.98, 115.05°)
OKLaboklab(60.53% -0.067 0.1094)
OKLCHoklch(60.53% 0.128 121.5)
XYZxyz(17.3626, 23.0478, 5.4530)
Luminance0.2305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768D27 #3E278D
analogous
#8D7127 #768D27 #438D27
triadic
#768D27 #27768D #8D2776
tetradic
#768D27 #278D71 #3E278D #8D2743
square
#768D27 #278D71 #3E278D #8D2743
split-complementary
#768D27 #27438D #71278D
monochromatic
#262D0C #4E5D1A #768D27 #9EBD34 #B7D25C

Accessibility & contrast

On white

3.74
#768D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#768D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768D27
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768D27#FFFFFF#000000##000000
##768D271.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968416
Deuteranopia (green-blind)
#93842F
Tritanopia (blue-blind)
#7D8679
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #768d27;
/* rgb */ color: rgb(118, 141, 39);
/* oklch */ color: oklch(60.5% 0.128 121.5);
Tailwind
colors: {
  custom: {
    50: '#a0ae68',
    500: '#768d27',
    950: '#000000',
  },
}
SCSS
$custom: #768d27;
$custom-light: #a0ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#768d27",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 73.529,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60531,
    "c": 0.12829,
    "h": 121.5
  },
  "luminance": 0.23048
}

Semantic roles & 50–950 ramp

primary
#768D27
secondary
#6E59B7
accent
#48E06A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768D27

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

Preview Lab → · Contrast checker → · Palette generator →

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