#768540#768540

#768540 is a mid, moderate yellow-green. Relative luminance 0.210; OKLCH L 58.9% C 0.096 H 119.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#768540
RGBrgb(118, 133, 64)
HSLhsl(73, 35%, 39%)
HSVhsv(73, 52%, 52%)
CMYKcmyk(11.3%, 0%, 51.9%, 47.8%)
CIE-LABlab(52.95, -16.66, 35.04)
CIE-LCHlch(52.95, 38.80, 115.43°)
OKLaboklab(58.86% -0.0472 0.0832)
OKLCHoklch(58.86% 0.096 119.6)
XYZxyz(16.7843, 20.9968, 8.0181)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768540 #4F4085
analogous
#857140 #768540 #538540
triadic
#768540 #407685 #854076
tetradic
#768540 #408571 #4F4085 #854053
square
#768540 #408571 #4F4085 #854053
split-complementary
#768540 #405385 #714085
monochromatic
#2D3218 #515C2C #768540 #9AAD55 #B3C17E

Accessibility & contrast

On white

4.04
#768540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#768540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768540
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768540#FFFFFF#000000##000000
##7685401.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3A
Deuteranopia (green-blind)
#8B7F44
Tritanopia (blue-blind)
#7C7F75
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #768540;
/* rgb */ color: rgb(118, 133, 64);
/* oklch */ color: oklch(58.9% 0.096 119.6);
Tailwind
colors: {
  custom: {
    50: '#9fa877',
    500: '#768540',
    950: '#000000',
  },
}
SCSS
$custom: #768540;
$custom-light: #9fa877;
$custom-dark: #000000;
JSON
{
  "hex": "#768540",
  "rgb": {
    "r": 118,
    "g": 133,
    "b": 64
  },
  "hsl": {
    "h": 73.043,
    "s": 35.025,
    "l": 38.627
  },
  "oklch": {
    "l": 0.58858,
    "c": 0.0956,
    "h": 119.6
  },
  "luminance": 0.20997
}

Semantic roles & 50–950 ramp

primary
#768540
secondary
#8175AC
accent
#5DCB75
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0F0F09
muted
#7E7F7B

Preview Lab

Preview with #768540

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

Preview Lab → · Contrast checker → · Palette generator →

#768540 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva