#768C29#768C29

#768C29 is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.3% C 0.126 H 121.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#768C29
RGBrgb(118, 140, 41)
HSLhsl(73, 55%, 35%)
HSVhsv(73, 71%, 55%)
CMYKcmyk(15.7%, 0%, 70.7%, 45.1%)
CIE-LABlab(54.83, -22.23, 47.82)
CIE-LCHlch(54.83, 52.73, 114.93°)
OKLaboklab(60.3% -0.065 0.1075)
OKLCHoklch(60.3% 0.126 121.2)
XYZxyz(17.2498, 22.7678, 5.5833)
Luminance0.2277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768C29 #3F298C
analogous
#8C7029 #768C29 #458C29
triadic
#768C29 #29768C #8C2976
tetradic
#768C29 #298C70 #3F298C #8C2945
square
#768C29 #298C70 #3F298C #8C2945
split-complementary
#768C29 #29458C #70298C
monochromatic
#262D0D #4E5D1B #768C29 #9EBB37 #B7D05F

Accessibility & contrast

On white

3.78
#768C29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#768C29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768C29
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768C29#FFFFFF#000000##000000
##768C291.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958419
Deuteranopia (green-blind)
#928331
Tritanopia (blue-blind)
#7D8578
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768c29;
/* rgb */ color: rgb(118, 140, 41);
/* oklch */ color: oklch(60.3% 0.126 121.2);
Tailwind
colors: {
  custom: {
    50: '#a0ad69',
    500: '#768c29',
    950: '#000000',
  },
}
SCSS
$custom: #768c29;
$custom-light: #a0ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#768c29",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 41
  },
  "hsl": {
    "h": 73.333,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60302,
    "c": 0.12563,
    "h": 121.2
  },
  "luminance": 0.22768
}

Semantic roles & 50–950 ramp

primary
#768C29
secondary
#6F5BB6
accent
#4ADE6B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768C29

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

Preview Lab → · Contrast checker → · Palette generator →

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