#768B21#768B21

#768B21 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 60.0% C 0.130 H 120.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#768B21
RGBrgb(118, 139, 33)
HSLhsl(72, 62%, 34%)
HSVhsv(72, 76%, 55%)
CMYKcmyk(15.1%, 0%, 76.3%, 45.5%)
CIE-LABlab(54.48, -22.18, 50.50)
CIE-LCHlch(54.48, 55.16, 113.71°)
OKLaboklab(60% -0.0657 0.1118)
OKLCHoklch(60% 0.13 120.4)
XYZxyz(16.9787, 22.4266, 4.8729)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768B21 #36218B
analogous
#8B6B21 #768B21 #418B21
triadic
#768B21 #21768B #8B2176
tetradic
#768B21 #218B6B #36218B #8B2141
square
#768B21 #218B6B #36218B #8B2141
split-complementary
#768B21 #21418B #6B218B
monochromatic
#22280A #4C5A15 #768B21 #A0BC2D #BBD651

Accessibility & contrast

On white

3.83
#768B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#768B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768B21
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768B21#FFFFFF#000000##000000
##768B211.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948309
Deuteranopia (green-blind)
#91822B
Tritanopia (blue-blind)
#7D8377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #768b21;
/* rgb */ color: rgb(118, 139, 33);
/* oklch */ color: oklch(60.0% 0.130 120.4);
Tailwind
colors: {
  custom: {
    50: '#a1ac65',
    500: '#768b21',
    950: '#000000',
  },
}
SCSS
$custom: #768b21;
$custom-light: #a1ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#768b21",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 71.887,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59999,
    "c": 0.12962,
    "h": 120.4
  },
  "luminance": 0.22427
}

Semantic roles & 50–950 ramp

primary
#768B21
secondary
#644FB9
accent
#43E563
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768B21

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

Preview Lab → · Contrast checker → · Palette generator →

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