#768E21#768E21

#768E21 is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.7% C 0.133 H 121.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#768E21
RGBrgb(118, 142, 33)
HSLhsl(73, 62%, 34%)
HSVhsv(73, 77%, 56%)
CMYKcmyk(16.9%, 0%, 76.8%, 44.3%)
CIE-LABlab(55.39, -23.70, 51.37)
CIE-LCHlch(55.39, 56.57, 114.76°)
OKLaboklab(60.73% -0.0698 0.1136)
OKLCHoklch(60.73% 0.133 121.6)
XYZxyz(17.4190, 23.3073, 5.0196)
Luminance0.2331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768E21 #39218E
analogous
#8E7021 #768E21 #408E21
triadic
#768E21 #21768E #8E2176
tetradic
#768E21 #218E70 #39218E #8E2140
square
#768E21 #218E70 #39218E #8E2140
split-complementary
#768E21 #21408E #70218E
monochromatic
#232B0A #4D5C15 #768E21 #9FC02D #BAD752

Accessibility & contrast

On white

3.71
#768E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#768E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768E21
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768E21#FFFFFF#000000##000000
##768E211.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978508
Deuteranopia (green-blind)
#94852B
Tritanopia (blue-blind)
#7D8679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768e21;
/* rgb */ color: rgb(118, 142, 33);
/* oklch */ color: oklch(60.7% 0.133 121.6);
Tailwind
colors: {
  custom: {
    50: '#a1af65',
    500: '#768e21',
    950: '#000000',
  },
}
SCSS
$custom: #768e21;
$custom-light: #a1af65;
$custom-dark: #000000;
JSON
{
  "hex": "#768e21",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 73.211,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60734,
    "c": 0.13332,
    "h": 121.6
  },
  "luminance": 0.23307
}

Semantic roles & 50–950 ramp

primary
#768E21
secondary
#6850BA
accent
#42E566
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768E21

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

Preview Lab → · Contrast checker → · Palette generator →

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