#768C21#768C21

#768C21 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.2% C 0.131 H 120.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#768C21
RGBrgb(118, 140, 33)
HSLhsl(72, 62%, 34%)
HSVhsv(72, 76%, 55%)
CMYKcmyk(15.7%, 0%, 76.4%, 45.1%)
CIE-LABlab(54.78, -22.69, 50.79)
CIE-LCHlch(54.78, 55.63, 114.07°)
OKLaboklab(60.24% -0.0671 0.1124)
OKLCHoklch(60.24% 0.131 120.8)
XYZxyz(17.1241, 22.7176, 4.9214)
Luminance0.2272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768C21 #37218C
analogous
#8C6D21 #768C21 #418C21
triadic
#768C21 #21768C #8C2176
tetradic
#768C21 #218C6D #37218C #8C2141
square
#768C21 #218C6D #37218C #8C2141
split-complementary
#768C21 #21418C #6D218C
monochromatic
#23290A #4C5A15 #768C21 #A0BE2D #BBD651

Accessibility & contrast

On white

3.79
#768C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#768C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768C21
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768C21#FFFFFF#000000##000000
##768C211.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958309
Deuteranopia (green-blind)
#92832B
Tritanopia (blue-blind)
#7D8478
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768c21;
/* rgb */ color: rgb(118, 140, 33);
/* oklch */ color: oklch(60.2% 0.131 120.8);
Tailwind
colors: {
  custom: {
    50: '#a1ad65',
    500: '#768c21',
    950: '#000000',
  },
}
SCSS
$custom: #768c21;
$custom-light: #a1ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#768c21",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 33
  },
  "hsl": {
    "h": 72.336,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60244,
    "c": 0.13085,
    "h": 120.8
  },
  "luminance": 0.22718
}

Semantic roles & 50–950 ramp

primary
#768C21
secondary
#654FB9
accent
#43E564
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768C21

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

Preview Lab → · Contrast checker → · Palette generator →

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