#768151#768151

#768151 is a mid, moderate yellow-green. Relative luminance 0.201; OKLCH L 58.2% C 0.070 H 119.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#768151
RGBrgb(118, 129, 81)
HSLhsl(74, 23%, 41%)
HSVhsv(74, 37%, 51%)
CMYKcmyk(8.5%, 0%, 37.2%, 49.4%)
CIE-LABlab(52.00, -12.47, 24.70)
CIE-LCHlch(52.00, 27.67, 116.79°)
OKLaboklab(58.18% -0.034 0.061)
OKLCHoklch(58.18% 0.07 119.1)
XYZxyz(16.8067, 20.1462, 10.7862)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768151 #5C5181
analogous
#817451 #768151 #5E8151
triadic
#768151 #517681 #815176
tetradic
#768151 #518174 #5C5181 #81515E
square
#768151 #518174 #5C5181 #81515E
split-complementary
#768151 #515E81 #745181
monochromatic
#313622 #545B39 #768151 #96A36C #B1BA92

Accessibility & contrast

On white

4.18
#768151 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#768151 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768151
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768151#FFFFFF#000000##000000
##7681511.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4E
Deuteranopia (green-blind)
#867C53
Tritanopia (blue-blind)
#7A7C75
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #768151;
/* rgb */ color: rgb(118, 129, 81);
/* oklch */ color: oklch(58.2% 0.070 119.1);
Tailwind
colors: {
  custom: {
    50: '#9ea582',
    500: '#768151',
    950: '#000000',
  },
}
SCSS
$custom: #768151;
$custom-light: #9ea582;
$custom-dark: #000000;
JSON
{
  "hex": "#768151",
  "rgb": {
    "r": 118,
    "g": 129,
    "b": 81
  },
  "hsl": {
    "h": 73.75,
    "s": 22.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.58183,
    "c": 0.06978,
    "h": 119.1
  },
  "luminance": 0.20146
}

Semantic roles & 50–950 ramp

primary
#768151
secondary
#8E86A8
accent
#68BF7C
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0E0F0A
muted
#7E7F7C

Preview Lab

Preview with #768151

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

Preview Lab → · Contrast checker → · Palette generator →

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