#768F2F#768F2F

#768F2F is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 61.1% C 0.125 H 122.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#768F2F
RGBrgb(118, 143, 47)
HSLhsl(76, 51%, 37%)
HSVhsv(76, 67%, 56%)
CMYKcmyk(17.5%, 0%, 67.1%, 43.9%)
CIE-LABlab(55.79, -23.33, 46.31)
CIE-LCHlch(55.79, 51.86, 116.73°)
OKLaboklab(61.09% -0.0675 0.1052)
OKLCHoklch(61.09% 0.125 122.7)
XYZxyz(17.8070, 23.7016, 6.3255)
Luminance0.2370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F2F #482F8F
analogous
#8F782F #768F2F #468F2F
triadic
#768F2F #2F768F #8F2F76
tetradic
#768F2F #2F8F78 #482F8F #8F2F46
square
#768F2F #2F8F78 #482F8F #8F2F46
split-complementary
#768F2F #2F468F #782F8F
monochromatic
#2A3311 #506120 #768F2F #9CBD3E #B4CE6A

Accessibility & contrast

On white

3.66
#768F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#768F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768F2F
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768F2F#FFFFFF#000000##000000
##768F2F1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978622
Deuteranopia (green-blind)
#948636
Tritanopia (blue-blind)
#7C887B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #768f2f;
/* rgb */ color: rgb(118, 143, 47);
/* oklch */ color: oklch(61.1% 0.125 122.7);
Tailwind
colors: {
  custom: {
    50: '#a0af6d',
    500: '#768f2f',
    950: '#000000',
  },
}
SCSS
$custom: #768f2f;
$custom-light: #a0af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#768f2f",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 75.625,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61088,
    "c": 0.12503,
    "h": 122.7
  },
  "luminance": 0.23702
}

Semantic roles & 50–950 ramp

primary
#768F2F
secondary
#7A65B5
accent
#4EDA72
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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