#768D2F#768D2F

#768D2F is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.6% C 0.122 H 121.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#768D2F
RGBrgb(118, 141, 47)
HSLhsl(75, 50%, 37%)
HSVhsv(75, 67%, 55%)
CMYKcmyk(16.3%, 0%, 66.7%, 44.7%)
CIE-LABlab(55.18, -22.32, 45.67)
CIE-LCHlch(55.18, 50.84, 116.04°)
OKLaboklab(60.6% -0.0647 0.1039)
OKLCHoklch(60.6% 0.122 121.9)
XYZxyz(17.5094, 23.1065, 6.2263)
Luminance0.2311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768D2F #462F8D
analogous
#8D752F #768D2F #478D2F
triadic
#768D2F #2F768D #8D2F76
tetradic
#768D2F #2F8D75 #462F8D #8D2F47
square
#768D2F #2F8D75 #462F8D #8D2F47
split-complementary
#768D2F #2F478D #752F8D
monochromatic
#293110 #505F20 #768D2F #9CBB3E #B5CD69

Accessibility & contrast

On white

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

On black

5.62
#768D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768D2F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768D2F#FFFFFF#000000##000000
##768D2F1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958522
Deuteranopia (green-blind)
#928436
Tritanopia (blue-blind)
#7C867A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #768d2f;
/* rgb */ color: rgb(118, 141, 47);
/* oklch */ color: oklch(60.6% 0.122 121.9);
Tailwind
colors: {
  custom: {
    50: '#a0ae6d',
    500: '#768d2f',
    950: '#000000',
  },
}
SCSS
$custom: #768d2f;
$custom-light: #a0ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#768d2f",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 74.681,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60599,
    "c": 0.12239,
    "h": 121.9
  },
  "luminance": 0.23107
}

Semantic roles & 50–950 ramp

primary
#768D2F
secondary
#7764B4
accent
#4EDA70
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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