#768A28#768A28

#768A28 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.8% C 0.124 H 120.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#768A28
RGBrgb(118, 138, 40)
HSLhsl(72, 55%, 35%)
HSVhsv(72, 71%, 54%)
CMYKcmyk(14.5%, 0%, 71%, 45.9%)
CIE-LABlab(54.22, -21.27, 47.61)
CIE-LCHlch(54.22, 52.14, 114.08°)
OKLaboklab(59.81% -0.0625 0.1069)
OKLCHoklch(59.81% 0.124 120.3)
XYZxyz(16.9430, 22.1818, 5.3960)
Luminance0.2218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768A28 #3C288A
analogous
#8A6D28 #768A28 #458A28
triadic
#768A28 #28768A #8A2876
tetradic
#768A28 #288A6D #3C288A #8A2845
square
#768A28 #288A6D #3C288A #8A2845
split-complementary
#768A28 #28458A #6D288A
monochromatic
#252B0C #4D5B1A #768A28 #9FB936 #B8D05D

Accessibility & contrast

On white

3.86
#768A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#768A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768A28
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768A28#FFFFFF#000000##000000
##768A281.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938218
Deuteranopia (green-blind)
#908230
Tritanopia (blue-blind)
#7D8377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #768a28;
/* rgb */ color: rgb(118, 138, 40);
/* oklch */ color: oklch(59.8% 0.124 120.3);
Tailwind
colors: {
  custom: {
    50: '#a0ac68',
    500: '#768a28',
    950: '#000000',
  },
}
SCSS
$custom: #768a28;
$custom-light: #a0ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#768a28",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 72.245,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59806,
    "c": 0.1238,
    "h": 120.3
  },
  "luminance": 0.22182
}

Semantic roles & 50–950 ramp

primary
#768A28
secondary
#6C59B5
accent
#49DE68
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768A28

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

Preview Lab → · Contrast checker → · Palette generator →

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