#768152#768152

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

Color values

HEX#768152
RGBrgb(118, 129, 82)
HSLhsl(74, 22%, 41%)
HSVhsv(74, 36%, 51%)
CMYKcmyk(8.5%, 0%, 36.4%, 49.4%)
CIE-LABlab(52.02, -12.33, 24.17)
CIE-LCHlch(52.02, 27.13, 117.04°)
OKLaboklab(58.2% -0.0335 0.0597)
OKLCHoklch(58.2% 0.069 119.3)
XYZxyz(16.8444, 20.1613, 10.9851)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768152 #5D5281
analogous
#817552 #768152 #5F8152
triadic
#768152 #527681 #815276
tetradic
#768152 #528175 #5D5281 #81525F
square
#768152 #528175 #5D5281 #81525F
split-complementary
#768152 #525F81 #755281
monochromatic
#323622 #545C3A #768152 #96A36E #B1BA93

Accessibility & contrast

On white

4.17
#768152 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##768152#FFFFFF#000000##000000
##7681521.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4F
Deuteranopia (green-blind)
#857C54
Tritanopia (blue-blind)
#7A7C75
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #768152;
/* rgb */ color: rgb(118, 129, 82);
/* oklch */ color: oklch(58.2% 0.069 119.3);
Tailwind
colors: {
  custom: {
    50: '#9ea583',
    500: '#768152',
    950: '#000000',
  },
}
SCSS
$custom: #768152;
$custom-light: #9ea583;
$custom-dark: #000000;
JSON
{
  "hex": "#768152",
  "rgb": {
    "r": 118,
    "g": 129,
    "b": 82
  },
  "hsl": {
    "h": 74.043,
    "s": 22.275,
    "l": 41.373
  },
  "oklch": {
    "l": 0.58202,
    "c": 0.06851,
    "h": 119.3
  },
  "luminance": 0.20161
}

Semantic roles & 50–950 ramp

primary
#768152
secondary
#8F87A8
accent
#69BF7D
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0E0F0A
muted
#7E7F7C

Preview Lab

Preview with #768152

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

Preview Lab → · Contrast checker → · Palette generator →

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