#768E2F#768E2F

#768E2F is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.8% C 0.124 H 122.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#768E2F
RGBrgb(118, 142, 47)
HSLhsl(75, 50%, 37%)
HSVhsv(75, 67%, 56%)
CMYKcmyk(16.9%, 0%, 66.9%, 44.3%)
CIE-LABlab(55.48, -22.82, 45.99)
CIE-LCHlch(55.48, 51.35, 116.39°)
OKLaboklab(60.84% -0.0661 0.1046)
OKLCHoklch(60.84% 0.124 122.3)
XYZxyz(17.6575, 23.4027, 6.2757)
Luminance0.2340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768E2F #472F8E
analogous
#8E772F #768E2F #468E2F
triadic
#768E2F #2F768E #8E2F76
tetradic
#768E2F #2F8E77 #472F8E #8E2F46
square
#768E2F #2F8E77 #472F8E #8E2F46
split-complementary
#768E2F #2F468E #772F8E
monochromatic
#2A3211 #506020 #768E2F #9CBC3E #B4CE6A

Accessibility & contrast

On white

3.70
#768E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#768E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768E2F
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768E2F#FFFFFF#000000##000000
##768E2F1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968522
Deuteranopia (green-blind)
#938536
Tritanopia (blue-blind)
#7C877B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768e2f;
/* rgb */ color: rgb(118, 142, 47);
/* oklch */ color: oklch(60.8% 0.124 122.3);
Tailwind
colors: {
  custom: {
    50: '#a0af6d',
    500: '#768e2f',
    950: '#000000',
  },
}
SCSS
$custom: #768e2f;
$custom-light: #a0af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#768e2f",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 75.158,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60843,
    "c": 0.12372,
    "h": 122.3
  },
  "luminance": 0.23403
}

Semantic roles & 50–950 ramp

primary
#768E2F
secondary
#7864B5
accent
#4EDA71
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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