#768728#768728

#768728 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 59.1% C 0.120 H 119.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#768728
RGBrgb(118, 135, 40)
HSLhsl(71, 54%, 34%)
HSVhsv(71, 70%, 53%)
CMYKcmyk(12.6%, 0%, 70.4%, 47.1%)
CIE-LABlab(53.31, -19.73, 46.69)
CIE-LCHlch(53.31, 50.69, 112.91°)
OKLaboklab(59.08% -0.0582 0.1049)
OKLCHoklch(59.08% 0.12 119)
XYZxyz(16.5185, 21.3328, 5.2545)
Luminance0.2133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768728 #392887
analogous
#876928 #768728 #478728
triadic
#768728 #287687 #872876
tetradic
#768728 #288769 #392887 #872847
square
#768728 #288769 #392887 #872847
split-complementary
#768728 #284787 #692887
monochromatic
#23290C #4D581A #768728 #9FB636 #BACE5B

Accessibility & contrast

On white

3.99
#768728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#768728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768728
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768728#FFFFFF#000000##000000
##7687281.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F19
Deuteranopia (green-blind)
#8E802F
Tritanopia (blue-blind)
#7D8074
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #768728;
/* rgb */ color: rgb(118, 135, 40);
/* oklch */ color: oklch(59.1% 0.120 119.0);
Tailwind
colors: {
  custom: {
    50: '#a0aa68',
    500: '#768728',
    950: '#000000',
  },
}
SCSS
$custom: #768728;
$custom-light: #a0aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#768728",
  "rgb": {
    "r": 118,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 70.737,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59075,
    "c": 0.12,
    "h": 119
  },
  "luminance": 0.21333
}

Semantic roles & 50–950 ramp

primary
#768728
secondary
#6857B4
accent
#4ADE65
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768728

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

Preview Lab → · Contrast checker → · Palette generator →

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