#768147#768147

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

Color values

HEX#768147
RGBrgb(118, 129, 71)
HSLhsl(71, 29%, 39%)
HSVhsv(71, 45%, 51%)
CMYKcmyk(8.5%, 0%, 45%, 49.4%)
CIE-LABlab(51.85, -13.74, 30.00)
CIE-LCHlch(51.85, 33.00, 114.62°)
OKLaboklab(58.01% -0.0383 0.0725)
OKLCHoklch(58.01% 0.082 117.8)
XYZxyz(16.4589, 20.0071, 8.9547)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768147 #524781
analogous
#816F47 #768147 #598147
triadic
#768147 #477681 #814776
tetradic
#768147 #47816F #524781 #814759
square
#768147 #47816F #524781 #814759
split-complementary
#768147 #475981 #6F4781
monochromatic
#2E321C #525A31 #768147 #99A75F #B2BC86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768147#FFFFFF#000000##000000
##7681471.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)
#887B42
Deuteranopia (green-blind)
#877C4A
Tritanopia (blue-blind)
#7B7B73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #768147;
/* rgb */ color: rgb(118, 129, 71);
/* oklch */ color: oklch(58.0% 0.082 117.8);
Tailwind
colors: {
  custom: {
    50: '#9ea57b',
    500: '#768147',
    950: '#000000',
  },
}
SCSS
$custom: #768147;
$custom-light: #9ea57b;
$custom-dark: #000000;
JSON
{
  "hex": "#768147",
  "rgb": {
    "r": 118,
    "g": 129,
    "b": 71
  },
  "hsl": {
    "h": 71.379,
    "s": 29,
    "l": 39.216
  },
  "oklch": {
    "l": 0.58007,
    "c": 0.082,
    "h": 117.8
  },
  "luminance": 0.20007
}

Semantic roles & 50–950 ramp

primary
#768147
secondary
#847CA8
accent
#63C575
background
#F9FAF7
surface
#F2F4EE
border
#CCCEC9
text
#0E0F09
muted
#7E7F7B

Preview Lab

Preview with #768147

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

Preview Lab → · Contrast checker → · Palette generator →

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