#768A1C#768A1C

#768A1C is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.7% C 0.131 H 119.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#768A1C
RGBrgb(118, 138, 28)
HSLhsl(71, 66%, 33%)
HSVhsv(71, 80%, 54%)
CMYKcmyk(14.5%, 0%, 79.7%, 45.9%)
CIE-LABlab(54.15, -21.92, 51.88)
CIE-LCHlch(54.15, 56.32, 112.90°)
OKLaboklab(59.72% -0.0654 0.1138)
OKLCHoklch(59.72% 0.131 119.9)
XYZxyz(16.7696, 22.1124, 4.4831)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768A1C #301C8A
analogous
#8A671C #768A1C #3F8A1C
triadic
#768A1C #1C768A #8A1C76
tetradic
#768A1C #1C8A67 #301C8A #8A1C3F
square
#768A1C #1C8A67 #301C8A #8A1C3F
split-complementary
#768A1C #1C3F8A #671C8A
monochromatic
#1F2407 #4A5712 #768A1C #A2BD26 #BFDA47

Accessibility & contrast

On white

3.87
#768A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#768A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768A1C
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768A1C#FFFFFF#000000##000000
##768A1C1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#918227
Tritanopia (blue-blind)
#7D8276
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #768a1c;
/* rgb */ color: rgb(118, 138, 28);
/* oklch */ color: oklch(59.7% 0.131 119.9);
Tailwind
colors: {
  custom: {
    50: '#a1ac62',
    500: '#768a1c',
    950: '#000000',
  },
}
SCSS
$custom: #768a1c;
$custom-light: #a1ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#768a1c",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 70.909,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59724,
    "c": 0.13121,
    "h": 119.9
  },
  "luminance": 0.22112
}

Semantic roles & 50–950 ramp

primary
#768A1C
secondary
#5C46BB
accent
#3FE95E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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