#768F16#768F16

#768F16 is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 60.9% C 0.140 H 121.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#768F16
RGBrgb(118, 143, 22)
HSLhsl(72, 73%, 32%)
HSVhsv(72, 85%, 56%)
CMYKcmyk(17.5%, 0%, 84.6%, 43.9%)
CIE-LABlab(55.64, -24.67, 54.95)
CIE-LCHlch(55.64, 60.24, 114.18°)
OKLaboklab(60.92% -0.0733 0.1193)
OKLCHoklch(60.92% 0.14 121.6)
XYZxyz(17.4388, 23.5544, 4.3866)
Luminance0.2355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F16 #2F168F
analogous
#8F6C16 #768F16 #398F16
triadic
#768F16 #16768F #8F1676
tetradic
#768F16 #168F6C #2F168F #8F1639
square
#768F16 #168F6C #2F168F #8F1639
split-complementary
#768F16 #16398F #6C168F
monochromatic
#1E2506 #4A5A0E #768F16 #A2C41E #C0E13E

Accessibility & contrast

On white

3.68
#768F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#768F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768F16
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768F16#FFFFFF#000000##000000
##768F161.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#958524
Tritanopia (blue-blind)
#7D877A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768f16;
/* rgb */ color: rgb(118, 143, 22);
/* oklch */ color: oklch(60.9% 0.140 121.6);
Tailwind
colors: {
  custom: {
    50: '#a1af61',
    500: '#768f16',
    950: '#000000',
  },
}
SCSS
$custom: #768f16;
$custom-light: #a1af61;
$custom-dark: #000000;
JSON
{
  "hex": "#768f16",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 72.397,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.6092,
    "c": 0.14,
    "h": 121.6
  },
  "luminance": 0.23554
}

Semantic roles & 50–950 ramp

primary
#768F16
secondary
#5A3FC1
accent
#38F05E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768F16

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

Preview Lab → · Contrast checker → · Palette generator →

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