#768D2E#768D2E

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

Color values

HEX#768D2E
RGBrgb(118, 141, 46)
HSLhsl(75, 51%, 37%)
HSVhsv(75, 67%, 55%)
CMYKcmyk(16.3%, 0%, 67.4%, 44.7%)
CIE-LABlab(55.17, -22.39, 46.10)
CIE-LCHlch(55.17, 51.25, 115.91°)
OKLaboklab(60.59% -0.065 0.1046)
OKLCHoklch(60.59% 0.123 121.9)
XYZxyz(17.4894, 23.0985, 6.1213)
Luminance0.2310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768D2E #452E8D
analogous
#8D752E #768D2E #478D2E
triadic
#768D2E #2E768D #8D2E76
tetradic
#768D2E #2E8D75 #452E8D #8D2E47
square
#768D2E #2E8D75 #452E8D #8D2E47
split-complementary
#768D2E #2E478D #752E8D
monochromatic
#293110 #4F5F1F #768D2E #9DBB3D #B5CE68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768D2E#FFFFFF#000000##000000
##768D2E1.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)
#958521
Deuteranopia (green-blind)
#928435
Tritanopia (blue-blind)
#7C867A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #768d2e;
/* rgb */ color: rgb(118, 141, 46);
/* oklch */ color: oklch(60.6% 0.123 121.9);
Tailwind
colors: {
  custom: {
    50: '#a0ae6c',
    500: '#768d2e',
    950: '#000000',
  },
}
SCSS
$custom: #768d2e;
$custom-light: #a0ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#768d2e",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 74.526,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6059,
    "c": 0.12318,
    "h": 121.9
  },
  "luminance": 0.23099
}

Semantic roles & 50–950 ramp

primary
#768D2E
secondary
#7662B5
accent
#4EDA70
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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