#768D21#768D21

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

Color values

HEX#768D21
RGBrgb(118, 141, 33)
HSLhsl(73, 62%, 34%)
HSVhsv(73, 77%, 55%)
CMYKcmyk(16.3%, 0%, 76.6%, 44.7%)
CIE-LABlab(55.08, -23.19, 51.08)
CIE-LCHlch(55.08, 56.10, 114.42°)
OKLaboklab(60.49% -0.0684 0.113)
OKLCHoklch(60.49% 0.132 121.2)
XYZxyz(17.2709, 23.0111, 4.9703)
Luminance0.2301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768D21 #38218D
analogous
#8D6E21 #768D21 #408D21
triadic
#768D21 #21768D #8D2176
tetradic
#768D21 #218D6E #38218D #8D2140
square
#768D21 #218D6E #38218D #8D2140
split-complementary
#768D21 #21408D #6E218D
monochromatic
#232A0A #4C5B15 #768D21 #A0BF2D #BAD652

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768D21#FFFFFF#000000##000000
##768D211.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)
#968408
Deuteranopia (green-blind)
#93842B
Tritanopia (blue-blind)
#7D8579
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #768d21;
/* rgb */ color: rgb(118, 141, 33);
/* oklch */ color: oklch(60.5% 0.132 121.2);
Tailwind
colors: {
  custom: {
    50: '#a1ae65',
    500: '#768d21',
    950: '#000000',
  },
}
SCSS
$custom: #768d21;
$custom-light: #a1ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#768d21",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 72.778,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60488,
    "c": 0.13208,
    "h": 121.2
  },
  "luminance": 0.23011
}

Semantic roles & 50–950 ramp

primary
#768D21
secondary
#6650BA
accent
#43E565
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768D21

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

Preview Lab → · Contrast checker → · Palette generator →

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