#768D23#768D23

#768D23 is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 60.5% C 0.131 H 121.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#768D23
RGBrgb(118, 141, 35)
HSLhsl(73, 60%, 35%)
HSVhsv(73, 75%, 55%)
CMYKcmyk(16.3%, 0%, 75.2%, 44.7%)
CIE-LABlab(55.10, -23.09, 50.38)
CIE-LCHlch(55.10, 55.42, 114.62°)
OKLaboklab(60.5% -0.068 0.1118)
OKLCHoklch(60.5% 0.131 121.3)
XYZxyz(17.2997, 23.0227, 5.1222)
Luminance0.2302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768D23 #3A238D
analogous
#8D6F23 #768D23 #418D23
triadic
#768D23 #23768D #8D2376
tetradic
#768D23 #238D6F #3A238D #8D2341
square
#768D23 #238D6F #3A238D #8D2341
split-complementary
#768D23 #23418D #6F238D
monochromatic
#242B0B #4D5C17 #768D23 #9FBE2F #B9D555

Accessibility & contrast

On white

3.75
#768D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#768D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768D23
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768D23#FFFFFF#000000##000000
##768D231.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96840D
Deuteranopia (green-blind)
#93842C
Tritanopia (blue-blind)
#7D8579
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #768d23;
/* rgb */ color: rgb(118, 141, 35);
/* oklch */ color: oklch(60.5% 0.131 121.3);
Tailwind
colors: {
  custom: {
    50: '#a1ae66',
    500: '#768d23',
    950: '#000000',
  },
}
SCSS
$custom: #768d23;
$custom-light: #a1ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#768d23",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 73.019,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60502,
    "c": 0.13087,
    "h": 121.3
  },
  "luminance": 0.23023
}

Semantic roles & 50–950 ramp

primary
#768D23
secondary
#6953B9
accent
#44E367
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768D23

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

Preview Lab → · Contrast checker → · Palette generator →

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