#768142#768142

#768142 is a mid, moderate yellow-green. Relative luminance 0.199; OKLCH L 57.9% C 0.088 H 117.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#768142
RGBrgb(118, 129, 66)
HSLhsl(70, 32%, 38%)
HSVhsv(70, 49%, 51%)
CMYKcmyk(8.5%, 0%, 48.8%, 49.4%)
CIE-LABlab(51.78, -14.32, 32.59)
CIE-LCHlch(51.78, 35.59, 113.72°)
OKLaboklab(57.93% -0.0403 0.0779)
OKLCHoklch(57.93% 0.088 117.4)
XYZxyz(16.3050, 19.9455, 8.1441)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768142 #4D4281
analogous
#816C42 #768142 #568142
triadic
#768142 #427681 #814276
tetradic
#768142 #42816C #4D4281 #814256
square
#768142 #42816C #4D4281 #814256
split-complementary
#768142 #425681 #6C4281
monochromatic
#2C3019 #51592D #768142 #9BA957 #B3BE80

Accessibility & contrast

On white

4.21
#768142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#768142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768142
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768142#FFFFFF#000000##000000
##7681421.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3D
Deuteranopia (green-blind)
#877C45
Tritanopia (blue-blind)
#7C7B72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #768142;
/* rgb */ color: rgb(118, 129, 66);
/* oklch */ color: oklch(57.9% 0.088 117.4);
Tailwind
colors: {
  custom: {
    50: '#9fa578',
    500: '#768142',
    950: '#000000',
  },
}
SCSS
$custom: #768142;
$custom-light: #9fa578;
$custom-dark: #000000;
JSON
{
  "hex": "#768142",
  "rgb": {
    "r": 118,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 70.476,
    "s": 32.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.57929,
    "c": 0.08775,
    "h": 117.4
  },
  "luminance": 0.19945
}

Semantic roles & 50–950 ramp

primary
#768142
secondary
#7F76A9
accent
#5FC872
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0F0F09
muted
#7E7F7B

Preview Lab

Preview with #768142

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

Preview Lab → · Contrast checker → · Palette generator →

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