#768E1C#768E1C

#768E1C is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.7% C 0.136 H 121.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#768E1C
RGBrgb(118, 142, 28)
HSLhsl(73, 67%, 33%)
HSVhsv(73, 80%, 56%)
CMYKcmyk(16.9%, 0%, 80.3%, 44.3%)
CIE-LABlab(55.36, -23.94, 52.99)
CIE-LCHlch(55.36, 58.14, 114.31°)
OKLaboklab(60.7% -0.0709 0.1161)
OKLCHoklch(60.7% 0.136 121.4)
XYZxyz(17.3541, 23.2814, 4.6779)
Luminance0.2328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768E1C #341C8E
analogous
#8E6D1C #768E1C #3D8E1C
triadic
#768E1C #1C768E #8E1C76
tetradic
#768E1C #1C8E6D #341C8E #8E1C3D
square
#768E1C #1C8E6D #341C8E #8E1C3D
split-complementary
#768E1C #1C3D8E #6D1C8E
monochromatic
#212808 #4C5B12 #768E1C #A0C126 #BCDB49

Accessibility & contrast

On white

3.71
#768E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#768E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768E1C
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768E1C#FFFFFF#000000##000000
##768E1C1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#948527
Tritanopia (blue-blind)
#7D8679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768e1c;
/* rgb */ color: rgb(118, 142, 28);
/* oklch */ color: oklch(60.7% 0.136 121.4);
Tailwind
colors: {
  custom: {
    50: '#a1af63',
    500: '#768e1c',
    950: '#000000',
  },
}
SCSS
$custom: #768e1c;
$custom-light: #a1af63;
$custom-dark: #000000;
JSON
{
  "hex": "#768e1c",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 72.632,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60704,
    "c": 0.13604,
    "h": 121.4
  },
  "luminance": 0.23281
}

Semantic roles & 50–950 ramp

primary
#768E1C
secondary
#6149BD
accent
#3EEA62
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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