#768D1B#768D1B

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

Color values

HEX#768D1B
RGBrgb(118, 141, 27)
HSLhsl(72, 68%, 33%)
HSVhsv(72, 81%, 55%)
CMYKcmyk(16.3%, 0%, 80.9%, 44.7%)
CIE-LABlab(55.05, -23.48, 53.02)
CIE-LCHlch(55.05, 57.98, 113.89°)
OKLaboklab(60.45% -0.0697 0.116)
OKLCHoklch(60.45% 0.135 121)
XYZxyz(17.1942, 22.9805, 4.5665)
Luminance0.2298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768D1B #321B8D
analogous
#8D6B1B #768D1B #3D8D1B
triadic
#768D1B #1B768D #8D1B76
tetradic
#768D1B #1B8D6B #321B8D #8D1B3D
square
#768D1B #1B8D6B #321B8D #8D1B3D
split-complementary
#768D1B #1B3D8D #6B1B8D
monochromatic
#202607 #4B5A11 #768D1B #A1C025 #BEDC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768D1B#FFFFFF#000000##000000
##768D1B1.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)
#938427
Tritanopia (blue-blind)
#7D8578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #768d1b;
/* rgb */ color: rgb(118, 141, 27);
/* oklch */ color: oklch(60.5% 0.135 121.0);
Tailwind
colors: {
  custom: {
    50: '#a1ae62',
    500: '#768d1b',
    950: '#000000',
  },
}
SCSS
$custom: #768d1b;
$custom-light: #a1ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#768d1b",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 72.105,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60453,
    "c": 0.13533,
    "h": 121
  },
  "luminance": 0.2298
}

Semantic roles & 50–950 ramp

primary
#768D1B
secondary
#5E46BD
accent
#3DEB60
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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