#768148#768148

#768148 is a mid, moderate yellow-green. Relative luminance 0.200; OKLCH L 58.0% C 0.081 H 117.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#768148
RGBrgb(118, 129, 72)
HSLhsl(72, 28%, 39%)
HSVhsv(72, 44%, 51%)
CMYKcmyk(8.5%, 0%, 44.2%, 49.4%)
CIE-LABlab(51.86, -13.63, 29.48)
CIE-LCHlch(51.86, 32.47, 114.81°)
OKLaboklab(58.02% -0.0379 0.0714)
OKLCHoklch(58.02% 0.081 117.9)
XYZxyz(16.4913, 20.0201, 9.1251)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768148 #534881
analogous
#817048 #768148 #5A8148
triadic
#768148 #487681 #814876
tetradic
#768148 #488170 #534881 #81485A
square
#768148 #488170 #534881 #81485A
split-complementary
#768148 #485A81 #704881
monochromatic
#2E321C #525A32 #768148 #99A660 #B2BC87

Accessibility & contrast

On white

4.20
#768148 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#768148 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768148
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768148#FFFFFF#000000##000000
##7681481.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B43
Deuteranopia (green-blind)
#877C4B
Tritanopia (blue-blind)
#7B7B73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #768148;
/* rgb */ color: rgb(118, 129, 72);
/* oklch */ color: oklch(58.0% 0.081 117.9);
Tailwind
colors: {
  custom: {
    50: '#9ea57c',
    500: '#768148',
    950: '#000000',
  },
}
SCSS
$custom: #768148;
$custom-light: #9ea57c;
$custom-dark: #000000;
JSON
{
  "hex": "#768148",
  "rgb": {
    "r": 118,
    "g": 129,
    "b": 72
  },
  "hsl": {
    "h": 71.579,
    "s": 28.358,
    "l": 39.412
  },
  "oklch": {
    "l": 0.58023,
    "c": 0.08082,
    "h": 117.9
  },
  "luminance": 0.2002
}

Semantic roles & 50–950 ramp

primary
#768148
secondary
#857DA8
accent
#63C576
background
#F9FAF7
surface
#F2F4EE
border
#CCCEC9
text
#0E0F09
muted
#7E7F7B

Preview Lab

Preview with #768148

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

Preview Lab → · Contrast checker → · Palette generator →

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