#768C23#768C23

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

Color values

HEX#768C23
RGBrgb(118, 140, 35)
HSLhsl(73, 60%, 34%)
HSVhsv(73, 75%, 55%)
CMYKcmyk(15.7%, 0%, 75%, 45.1%)
CIE-LABlab(54.79, -22.58, 50.09)
CIE-LCHlch(54.79, 54.94, 114.27°)
OKLaboklab(60.26% -0.0666 0.1112)
OKLCHoklch(60.26% 0.13 120.9)
XYZxyz(17.1530, 22.7291, 5.0733)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768C23 #39238C
analogous
#8C6E23 #768C23 #428C23
triadic
#768C23 #23768C #8C2376
tetradic
#768C23 #238C6E #39238C #8C2342
square
#768C23 #238C6E #39238C #8C2342
split-complementary
#768C23 #23428C #6E238C
monochromatic
#232A0B #4D5B17 #768C23 #9FBD2F #BAD455

Accessibility & contrast

On white

3.79
#768C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##768C23#FFFFFF#000000##000000
##768C231.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830E
Deuteranopia (green-blind)
#92832C
Tritanopia (blue-blind)
#7D8478
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768c23;
/* rgb */ color: rgb(118, 140, 35);
/* oklch */ color: oklch(60.3% 0.130 120.9);
Tailwind
colors: {
  custom: {
    50: '#a1ad66',
    500: '#768c23',
    950: '#000000',
  },
}
SCSS
$custom: #768c23;
$custom-light: #a1ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#768c23",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 72.571,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60257,
    "c": 0.12964,
    "h": 120.9
  },
  "luminance": 0.22729
}

Semantic roles & 50–950 ramp

primary
#768C23
secondary
#6852B8
accent
#45E366
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768C23

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

Preview Lab → · Contrast checker → · Palette generator →

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