#768D2B#768D2B

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

Color values

HEX#768D2B
RGBrgb(118, 141, 43)
HSLhsl(74, 53%, 36%)
HSVhsv(74, 70%, 55%)
CMYKcmyk(16.3%, 0%, 69.5%, 44.7%)
CIE-LABlab(55.15, -22.60, 47.33)
CIE-LCHlch(55.15, 52.45, 115.52°)
OKLaboklab(60.56% -0.0659 0.1068)
OKLCHoklch(60.56% 0.125 121.7)
XYZxyz(17.4324, 23.0757, 5.8207)
Luminance0.2308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768D2B #422B8D
analogous
#8D732B #768D2B #458D2B
triadic
#768D2B #2B768D #8D2B76
tetradic
#768D2B #2B8D73 #422B8D #8D2B45
square
#768D2B #2B8D73 #422B8D #8D2B45
split-complementary
#768D2B #2B458D #732B8D
monochromatic
#282F0E #4F5E1D #768D2B #9DBC39 #B6CF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768D2B#FFFFFF#000000##000000
##768D2B1.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)
#96841C
Deuteranopia (green-blind)
#938433
Tritanopia (blue-blind)
#7C8679
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #768d2b;
/* rgb */ color: rgb(118, 141, 43);
/* oklch */ color: oklch(60.6% 0.125 121.7);
Tailwind
colors: {
  custom: {
    50: '#a0ae6a',
    500: '#768d2b',
    950: '#000000',
  },
}
SCSS
$custom: #768d2b;
$custom-light: #a0ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#768d2b",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 74.082,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60563,
    "c": 0.12546,
    "h": 121.7
  },
  "luminance": 0.23076
}

Semantic roles & 50–950 ramp

primary
#768D2B
secondary
#735EB6
accent
#4BDD6D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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