#768F2A#768F2A

#768F2A is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 61.0% C 0.129 H 122.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#768F2A
RGBrgb(118, 143, 42)
HSLhsl(75, 55%, 36%)
HSVhsv(75, 71%, 56%)
CMYKcmyk(17.5%, 0%, 70.6%, 43.9%)
CIE-LABlab(55.75, -23.67, 48.35)
CIE-LCHlch(55.75, 53.83, 116.09°)
OKLaboklab(61.04% -0.0689 0.1088)
OKLCHoklch(61.04% 0.129 122.4)
XYZxyz(17.7118, 23.6636, 5.8245)
Luminance0.2366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F2A #432A8F
analogous
#8F762A #768F2A #448F2A
triadic
#768F2A #2A768F #8F2A76
tetradic
#768F2A #2A8F76 #432A8F #8F2A44
square
#768F2A #2A8F76 #432A8F #8F2A44
split-complementary
#768F2A #2A448F #762A8F
monochromatic
#28300E #4F601C #768F2A #9DBE38 #B6D162

Accessibility & contrast

On white

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

On black

5.73
#768F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768F2A
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768F2A#FFFFFF#000000##000000
##768F2A1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98861A
Deuteranopia (green-blind)
#948632
Tritanopia (blue-blind)
#7C887B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #768f2a;
/* rgb */ color: rgb(118, 143, 42);
/* oklch */ color: oklch(61.0% 0.129 122.4);
Tailwind
colors: {
  custom: {
    50: '#a0af6a',
    500: '#768f2a',
    950: '#000000',
  },
}
SCSS
$custom: #768f2a;
$custom-light: #a0af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#768f2a",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 74.851,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61044,
    "c": 0.12876,
    "h": 122.4
  },
  "luminance": 0.23664
}

Semantic roles & 50–950 ramp

primary
#768F2A
secondary
#745EB7
accent
#4ADE6F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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