#768F21#768F21

#768F21 is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 61.0% C 0.135 H 121.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#768F21
RGBrgb(118, 143, 33)
HSLhsl(74, 63%, 35%)
HSVhsv(74, 77%, 56%)
CMYKcmyk(17.5%, 0%, 76.9%, 43.9%)
CIE-LABlab(55.69, -24.20, 51.66)
CIE-LCHlch(55.69, 57.04, 115.10°)
OKLaboklab(60.98% -0.0712 0.1142)
OKLCHoklch(60.98% 0.135 121.9)
XYZxyz(17.5685, 23.6062, 5.0695)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F21 #3A218F
analogous
#8F7121 #768F21 #3F8F21
triadic
#768F21 #21768F #8F2176
tetradic
#768F21 #218F71 #3A218F #8F213F
square
#768F21 #218F71 #3A218F #8F213F
split-complementary
#768F21 #213F8F #71218F
monochromatic
#242C0A #4D5D16 #768F21 #9FC12C #B9D753

Accessibility & contrast

On white

3.67
#768F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#768F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768F21
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768F21#FFFFFF#000000##000000
##768F211.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988607
Deuteranopia (green-blind)
#95852B
Tritanopia (blue-blind)
#7D877A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768f21;
/* rgb */ color: rgb(118, 143, 33);
/* oklch */ color: oklch(61.0% 0.135 121.9);
Tailwind
colors: {
  custom: {
    50: '#a1af65',
    500: '#768f21',
    950: '#000000',
  },
}
SCSS
$custom: #768f21;
$custom-light: #a1af65;
$custom-dark: #000000;
JSON
{
  "hex": "#768f21",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 73.636,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60979,
    "c": 0.13456,
    "h": 121.9
  },
  "luminance": 0.23606
}

Semantic roles & 50–950 ramp

primary
#768F21
secondary
#6951BB
accent
#42E667
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768F21

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

Preview Lab → · Contrast checker → · Palette generator →

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