#768342#768342

#768342 is a mid, moderate yellow-green. Relative luminance 0.205; OKLCH L 58.4% C 0.091 H 118.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#768342
RGBrgb(118, 131, 66)
HSLhsl(72, 33%, 39%)
HSVhsv(72, 50%, 51%)
CMYKcmyk(9.9%, 0%, 49.6%, 48.6%)
CIE-LABlab(52.37, -15.39, 33.31)
CIE-LCHlch(52.37, 36.70, 114.79°)
OKLaboklab(58.41% -0.0434 0.0795)
OKLCHoklch(58.41% 0.091 118.6)
XYZxyz(16.5710, 20.4776, 8.2328)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768342 #4F4283
analogous
#836F42 #768342 #558342
triadic
#768342 #427683 #834276
tetradic
#768342 #42836F #4F4283 #834255
square
#768342 #42836F #4F4283 #834255
split-complementary
#768342 #425583 #6F4283
monochromatic
#2D3219 #515A2D #768342 #9AAB58 #B3BF80

Accessibility & contrast

On white

4.12
#768342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#768342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768342
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768342#FFFFFF#000000##000000
##7683421.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D3C
Deuteranopia (green-blind)
#897D46
Tritanopia (blue-blind)
#7C7D74
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #768342;
/* rgb */ color: rgb(118, 131, 66);
/* oklch */ color: oklch(58.4% 0.091 118.6);
Tailwind
colors: {
  custom: {
    50: '#9fa778',
    500: '#768342',
    950: '#000000',
  },
}
SCSS
$custom: #768342;
$custom-light: #9fa778;
$custom-dark: #000000;
JSON
{
  "hex": "#768342",
  "rgb": {
    "r": 118,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 72,
    "s": 32.995,
    "l": 38.627
  },
  "oklch": {
    "l": 0.58407,
    "c": 0.09058,
    "h": 118.6
  },
  "luminance": 0.20477
}

Semantic roles & 50–950 ramp

primary
#768342
secondary
#8177AA
accent
#5FC974
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0F0F09
muted
#7E7F7B

Preview Lab

Preview with #768342

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

Preview Lab → · Contrast checker → · Palette generator →

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