#768F2C#768F2C

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

Color values

HEX#768F2C
RGBrgb(118, 143, 44)
HSLhsl(75, 53%, 37%)
HSVhsv(75, 69%, 56%)
CMYKcmyk(17.5%, 0%, 69.2%, 43.9%)
CIE-LABlab(55.76, -23.54, 47.55)
CIE-LCHlch(55.76, 53.06, 116.34°)
OKLaboklab(61.06% -0.0684 0.1074)
OKLCHoklch(61.06% 0.127 122.5)
XYZxyz(17.7485, 23.6783, 6.0177)
Luminance0.2368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F2C #452C8F
analogous
#8F772C #768F2C #448F2C
triadic
#768F2C #2C768F #8F2C76
tetradic
#768F2C #2C8F77 #452C8F #8F2C44
square
#768F2C #2C8F77 #452C8F #8F2C44
split-complementary
#768F2C #2C448F #772C8F
monochromatic
#29310F #4F601E #768F2C #9DBE3A #B5D066

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768F2C#FFFFFF#000000##000000
##768F2C1.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)
#97861D
Deuteranopia (green-blind)
#948634
Tritanopia (blue-blind)
#7C887B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #768f2c;
/* rgb */ color: rgb(118, 143, 44);
/* oklch */ color: oklch(61.1% 0.127 122.5);
Tailwind
colors: {
  custom: {
    50: '#a0af6b',
    500: '#768f2c',
    950: '#000000',
  },
}
SCSS
$custom: #768f2c;
$custom-light: #a0af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#768f2c",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 75.152,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61061,
    "c": 0.12731,
    "h": 122.5
  },
  "luminance": 0.23678
}

Semantic roles & 50–950 ramp

primary
#768F2C
secondary
#7661B6
accent
#4BDC70
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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