#768F15#768F15

#768F15 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#768F15
RGBrgb(118, 143, 21)
HSLhsl(72, 74%, 32%)
HSVhsv(72, 85%, 56%)
CMYKcmyk(17.5%, 0%, 85.3%, 43.9%)
CIE-LABlab(55.63, -24.71, 55.21)
CIE-LCHlch(55.63, 60.48, 114.11°)
OKLaboklab(60.92% -0.0735 0.1197)
OKLCHoklch(60.92% 0.14 121.6)
XYZxyz(17.4294, 23.5506, 4.3368)
Luminance0.2355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F15 #2E158F
analogous
#8F6B15 #768F15 #398F15
triadic
#768F15 #15768F #8F1576
tetradic
#768F15 #158F6B #2E158F #8F1539
square
#768F15 #158F6B #2E158F #8F1539
split-complementary
#768F15 #15398F #6B158F
monochromatic
#1E2405 #4A5A0D #768F15 #A2C41D #C0E23C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768F15#FFFFFF#000000##000000
##768F151.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)
#958523
Tritanopia (blue-blind)
#7D877A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768f15;
/* rgb */ color: rgb(118, 143, 21);
/* oklch */ color: oklch(60.9% 0.140 121.6);
Tailwind
colors: {
  custom: {
    50: '#a1af60',
    500: '#768f15',
    950: '#000000',
  },
}
SCSS
$custom: #768f15;
$custom-light: #a1af60;
$custom-dark: #000000;
JSON
{
  "hex": "#768f15",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 72.295,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60915,
    "c": 0.14041,
    "h": 121.6
  },
  "luminance": 0.23551
}

Semantic roles & 50–950 ramp

primary
#768F15
secondary
#593EC2
accent
#37F15D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768F15

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

Preview Lab → · Contrast checker → · Palette generator →

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