#768E16#768E16

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

Color values

HEX#768E16
RGBrgb(118, 142, 22)
HSLhsl(72, 73%, 32%)
HSVhsv(72, 85%, 56%)
CMYKcmyk(16.9%, 0%, 84.5%, 44.3%)
CIE-LABlab(55.33, -24.17, 54.69)
CIE-LCHlch(55.33, 59.79, 113.85°)
OKLaboklab(60.67% -0.072 0.1187)
OKLCHoklch(60.67% 0.139 121.2)
XYZxyz(17.2894, 23.2555, 4.3368)
Luminance0.2326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768E16 #2E168E
analogous
#8E6A16 #768E16 #3A8E16
triadic
#768E16 #16768E #8E1676
tetradic
#768E16 #168E6A #2E168E #8E163A
square
#768E16 #168E6A #2E168E #8E163A
split-complementary
#768E16 #163A8E #6A168E
monochromatic
#1E2406 #4A590E #768E16 #A2C31E #C0E13D

Accessibility & contrast

On white

3.72
#768E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#768E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768E16
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768E16#FFFFFF#000000##000000
##768E161.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #768e16;
/* rgb */ color: rgb(118, 142, 22);
/* oklch */ color: oklch(60.7% 0.139 121.2);
Tailwind
colors: {
  custom: {
    50: '#a1af61',
    500: '#768e16',
    950: '#000000',
  },
}
SCSS
$custom: #768e16;
$custom-light: #a1af61;
$custom-dark: #000000;
JSON
{
  "hex": "#768e16",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 72,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60674,
    "c": 0.13881,
    "h": 121.2
  },
  "luminance": 0.23255
}

Semantic roles & 50–950 ramp

primary
#768E16
secondary
#593FC1
accent
#38F05D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768E16

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

Preview Lab → · Contrast checker → · Palette generator →

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