#768E2D#768E2D

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

Color values

HEX#768E2D
RGBrgb(118, 142, 45)
HSLhsl(75, 52%, 37%)
HSVhsv(75, 68%, 56%)
CMYKcmyk(16.9%, 0%, 68.3%, 44.3%)
CIE-LABlab(55.47, -22.97, 46.83)
CIE-LCHlch(55.47, 52.16, 116.13°)
OKLaboklab(60.83% -0.0667 0.106)
OKLCHoklch(60.83% 0.125 122.2)
XYZxyz(17.6181, 23.3870, 6.0681)
Luminance0.2339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768E2D #452D8E
analogous
#8E762D #768E2D #468E2D
triadic
#768E2D #2D768E #8E2D76
tetradic
#768E2D #2D8E76 #452D8E #8E2D46
square
#768E2D #2D8E76 #452D8E #8E2D46
split-complementary
#768E2D #2D468E #762D8E
monochromatic
#293110 #4F601E #768E2D #9DBC3C #B5CF67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768E2D#FFFFFF#000000##000000
##768E2D1.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)
#96851F
Deuteranopia (green-blind)
#938534
Tritanopia (blue-blind)
#7C877A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768e2d;
/* rgb */ color: rgb(118, 142, 45);
/* oklch */ color: oklch(60.8% 0.125 122.2);
Tailwind
colors: {
  custom: {
    50: '#a0af6c',
    500: '#768e2d',
    950: '#000000',
  },
}
SCSS
$custom: #768e2d;
$custom-light: #a0af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#768e2d",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 74.845,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60825,
    "c": 0.12526,
    "h": 122.2
  },
  "luminance": 0.23387
}

Semantic roles & 50–950 ramp

primary
#768E2D
secondary
#7661B5
accent
#4CDB70
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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