#768F1C#768F1C

#768F1C is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 60.9% C 0.137 H 121.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#768F1C
RGBrgb(118, 143, 28)
HSLhsl(73, 67%, 34%)
HSVhsv(73, 80%, 56%)
CMYKcmyk(17.5%, 0%, 80.4%, 43.9%)
CIE-LABlab(55.67, -24.43, 53.27)
CIE-LCHlch(55.67, 58.60, 114.64°)
OKLaboklab(60.95% -0.0722 0.1167)
OKLCHoklch(60.95% 0.137 121.8)
XYZxyz(17.5036, 23.5803, 4.7277)
Luminance0.2358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F1C #351C8F
analogous
#8F6E1C #768F1C #3D8F1C
triadic
#768F1C #1C768F #8F1C76
tetradic
#768F1C #1C8F6E #351C8F #8F1C3D
square
#768F1C #1C8F6E #351C8F #8F1C3D
split-complementary
#768F1C #1C3D8F #6E1C8F
monochromatic
#222908 #4C5C12 #768F1C #A0C226 #BCDC4A

Accessibility & contrast

On white

3.67
#768F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#768F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768F1C
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768F1C#FFFFFF#000000##000000
##768F1C1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#958528
Tritanopia (blue-blind)
#7D877A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768f1c;
/* rgb */ color: rgb(118, 143, 28);
/* oklch */ color: oklch(60.9% 0.137 121.8);
Tailwind
colors: {
  custom: {
    50: '#a1af63',
    500: '#768f1c',
    950: '#000000',
  },
}
SCSS
$custom: #768f1c;
$custom-light: #a1af63;
$custom-dark: #000000;
JSON
{
  "hex": "#768f1c",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 73.043,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60949,
    "c": 0.13726,
    "h": 121.8
  },
  "luminance": 0.2358
}

Semantic roles & 50–950 ramp

primary
#768F1C
secondary
#6349BE
accent
#3EEA63
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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