#768D1E#768D1E

#768D1E is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 60.5% C 0.134 H 121.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#768D1E
RGBrgb(118, 141, 30)
HSLhsl(72, 65%, 34%)
HSVhsv(72, 79%, 55%)
CMYKcmyk(16.3%, 0%, 78.7%, 44.7%)
CIE-LABlab(55.07, -23.34, 52.08)
CIE-LCHlch(55.07, 57.07, 114.14°)
OKLaboklab(60.47% -0.0691 0.1146)
OKLCHoklch(60.47% 0.134 121.1)
XYZxyz(17.2307, 22.9951, 4.7588)
Luminance0.2299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768D1E #351E8D
analogous
#8D6C1E #768D1E #3F8D1E
triadic
#768D1E #1E768D #8D1E76
tetradic
#768D1E #1E8D6C #351E8D #8D1E3F
square
#768D1E #1E8D6C #351E8D #8D1E3F
split-complementary
#768D1E #1E3F8D #6C1E8D
monochromatic
#222809 #4C5B13 #768D1E #A0BF29 #BCD94C

Accessibility & contrast

On white

3.75
#768D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#768D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768D1E
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768D1E#FFFFFF#000000##000000
##768D1E1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#938429
Tritanopia (blue-blind)
#7D8578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #768d1e;
/* rgb */ color: rgb(118, 141, 30);
/* oklch */ color: oklch(60.5% 0.134 121.1);
Tailwind
colors: {
  custom: {
    50: '#a1ae64',
    500: '#768d1e',
    950: '#000000',
  },
}
SCSS
$custom: #768d1e;
$custom-light: #a1ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#768d1e",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 72.432,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.6047,
    "c": 0.13378,
    "h": 121.1
  },
  "luminance": 0.22995
}

Semantic roles & 50–950 ramp

primary
#768D1E
secondary
#634BBC
accent
#40E863
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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