#768246#768246

#768246 is a mid, moderate yellow-green. Relative luminance 0.203; OKLCH L 58.2% C 0.085 H 118.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#768246
RGBrgb(118, 130, 70)
HSLhsl(72, 30%, 39%)
HSVhsv(72, 46%, 51%)
CMYKcmyk(9.2%, 0%, 46.2%, 49%)
CIE-LABlab(52.13, -14.40, 30.89)
CIE-LCHlch(52.13, 34.08, 115.00°)
OKLaboklab(58.23% -0.0402 0.0744)
OKLCHoklch(58.23% 0.085 118.4)
XYZxyz(16.5594, 20.2591, 8.8312)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768246 #524682
analogous
#827046 #768246 #588246
triadic
#768246 #467682 #824676
tetradic
#768246 #468270 #524682 #824658
square
#768246 #468270 #524682 #824658
split-complementary
#768246 #465882 #704682
monochromatic
#2E321B #525A31 #768246 #99A85D #B2BD85

Accessibility & contrast

On white

4.16
#768246 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#768246 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768246
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768246#FFFFFF#000000##000000
##7682461.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C41
Deuteranopia (green-blind)
#887D49
Tritanopia (blue-blind)
#7B7C74
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #768246;
/* rgb */ color: rgb(118, 130, 70);
/* oklch */ color: oklch(58.2% 0.085 118.4);
Tailwind
colors: {
  custom: {
    50: '#9ea67b',
    500: '#768246',
    950: '#000000',
  },
}
SCSS
$custom: #768246;
$custom-light: #9ea67b;
$custom-dark: #000000;
JSON
{
  "hex": "#768246",
  "rgb": {
    "r": 118,
    "g": 130,
    "b": 70
  },
  "hsl": {
    "h": 72,
    "s": 30,
    "l": 39.216
  },
  "oklch": {
    "l": 0.58229,
    "c": 0.08462,
    "h": 118.4
  },
  "luminance": 0.20259
}

Semantic roles & 50–950 ramp

primary
#768246
secondary
#847BA9
accent
#62C676
background
#F9FAF7
surface
#F2F4EE
border
#CCCEC9
text
#0E0F09
muted
#7E7F7B

Preview Lab

Preview with #768246

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

Preview Lab → · Contrast checker → · Palette generator →

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