#768D1F#768D1F

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

Color values

HEX#768D1F
RGBrgb(118, 141, 31)
HSLhsl(73, 64%, 34%)
HSVhsv(73, 78%, 55%)
CMYKcmyk(16.3%, 0%, 78%, 44.7%)
CIE-LABlab(55.07, -23.29, 51.75)
CIE-LCHlch(55.07, 56.76, 114.23°)
OKLaboklab(60.48% -0.0689 0.114)
OKLCHoklch(60.48% 0.133 121.1)
XYZxyz(17.2437, 23.0002, 4.8271)
Luminance0.2300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768D1F #361F8D
analogous
#8D6D1F #768D1F #3F8D1F
triadic
#768D1F #1F768D #8D1F76
tetradic
#768D1F #1F8D6D #361F8D #8D1F3F
square
#768D1F #1F8D6D #361F8D #8D1F3F
split-complementary
#768D1F #1F3F8D #6D1F8D
monochromatic
#222909 #4C5B14 #768D1F #A0BF2A #BBD84E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768D1F#FFFFFF#000000##000000
##768D1F1.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)
#968403
Deuteranopia (green-blind)
#938429
Tritanopia (blue-blind)
#7D8578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #768d1f;
/* rgb */ color: rgb(118, 141, 31);
/* oklch */ color: oklch(60.5% 0.133 121.1);
Tailwind
colors: {
  custom: {
    50: '#a1ae64',
    500: '#768d1f',
    950: '#000000',
  },
}
SCSS
$custom: #768d1f;
$custom-light: #a1ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#768d1f",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 72.545,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60476,
    "c": 0.13323,
    "h": 121.1
  },
  "luminance": 0.23
}

Semantic roles & 50–950 ramp

primary
#768D1F
secondary
#644DBB
accent
#41E764
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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