#768D2D#768D2D

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

Color values

HEX#768D2D
RGBrgb(118, 141, 45)
HSLhsl(74, 52%, 36%)
HSVhsv(74, 68%, 55%)
CMYKcmyk(16.3%, 0%, 68.1%, 44.7%)
CIE-LABlab(55.17, -22.46, 46.51)
CIE-LCHlch(55.17, 51.65, 115.78°)
OKLaboklab(60.58% -0.0653 0.1054)
OKLCHoklch(60.58% 0.124 121.8)
XYZxyz(17.4700, 23.0907, 6.0187)
Luminance0.2309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768D2D #442D8D
analogous
#8D742D #768D2D #468D2D
triadic
#768D2D #2D768D #8D2D76
tetradic
#768D2D #2D8D74 #442D8D #8D2D46
square
#768D2D #2D8D74 #442D8D #8D2D46
split-complementary
#768D2D #2D468D #742D8D
monochromatic
#28300F #4F5F1E #768D2D #9DBB3C #B5CE66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768D2D#FFFFFF#000000##000000
##768D2D1.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)
#958520
Deuteranopia (green-blind)
#938434
Tritanopia (blue-blind)
#7C867A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #768d2d;
/* rgb */ color: rgb(118, 141, 45);
/* oklch */ color: oklch(60.6% 0.124 121.8);
Tailwind
colors: {
  custom: {
    50: '#a0ae6b',
    500: '#768d2d',
    950: '#000000',
  },
}
SCSS
$custom: #768d2d;
$custom-light: #a0ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#768d2d",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 74.375,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60581,
    "c": 0.12396,
    "h": 121.8
  },
  "luminance": 0.23091
}

Semantic roles & 50–950 ramp

primary
#768D2D
secondary
#7561B5
accent
#4DDB6F
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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