#768C1C#768C1C

#768C1C is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.2% C 0.134 H 120.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#768C1C
RGBrgb(118, 140, 28)
HSLhsl(72, 67%, 33%)
HSVhsv(72, 80%, 55%)
CMYKcmyk(15.7%, 0%, 80%, 45.1%)
CIE-LABlab(54.75, -22.93, 52.43)
CIE-LCHlch(54.75, 57.23, 113.62°)
OKLaboklab(60.21% -0.0681 0.115)
OKLCHoklch(60.21% 0.134 120.7)
XYZxyz(17.0592, 22.6916, 4.5796)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768C1C #321C8C
analogous
#8C6A1C #768C1C #3E8C1C
triadic
#768C1C #1C768C #8C1C76
tetradic
#768C1C #1C8C6A #321C8C #8C1C3E
square
#768C1C #1C8C6A #321C8C #8C1C3E
split-complementary
#768C1C #1C3E8C #6A1C8C
monochromatic
#202608 #4B5912 #768C1C #A1BF26 #BEDA48

Accessibility & contrast

On white

3.79
#768C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#768C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768C1C
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768C1C#FFFFFF#000000##000000
##768C1C1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#938327
Tritanopia (blue-blind)
#7D8477
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768c1c;
/* rgb */ color: rgb(118, 140, 28);
/* oklch */ color: oklch(60.2% 0.134 120.7);
Tailwind
colors: {
  custom: {
    50: '#a1ad63',
    500: '#768c1c',
    950: '#000000',
  },
}
SCSS
$custom: #768c1c;
$custom-light: #a1ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#768c1c",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 71.786,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60213,
    "c": 0.13362,
    "h": 120.7
  },
  "luminance": 0.22692
}

Semantic roles & 50–950 ramp

primary
#768C1C
secondary
#5E48BC
accent
#3EEA60
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768C1C

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

Preview Lab → · Contrast checker → · Palette generator →

#768C1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva