#768A23#768A23

#768A23 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.8% C 0.127 H 120.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#768A23
RGBrgb(118, 138, 35)
HSLhsl(72, 60%, 34%)
HSVhsv(72, 75%, 54%)
CMYKcmyk(14.5%, 0%, 74.6%, 45.9%)
CIE-LABlab(54.19, -21.57, 49.50)
CIE-LCHlch(54.19, 54.00, 113.54°)
OKLaboklab(59.77% -0.0638 0.11)
OKLCHoklch(59.77% 0.127 120.1)
XYZxyz(16.8634, 22.1499, 4.9768)
Luminance0.2215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768A23 #37238A
analogous
#8A6B23 #768A23 #438A23
triadic
#768A23 #23768A #8A2376
tetradic
#768A23 #238A6B #37238A #8A2343
square
#768A23 #238A6B #37238A #8A2343
split-complementary
#768A23 #23438A #6B238A
monochromatic
#23280A #4C5917 #768A23 #A0BB2F #BBD454

Accessibility & contrast

On white

3.87
#768A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#768A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768A23
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768A23#FFFFFF#000000##000000
##768A231.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820F
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#7D8276
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #768a23;
/* rgb */ color: rgb(118, 138, 35);
/* oklch */ color: oklch(59.8% 0.127 120.1);
Tailwind
colors: {
  custom: {
    50: '#a0ac66',
    500: '#768a23',
    950: '#000000',
  },
}
SCSS
$custom: #768a23;
$custom-light: #a0ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#768a23",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 71.65,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59768,
    "c": 0.12715,
    "h": 120.1
  },
  "luminance": 0.2215
}

Semantic roles & 50–950 ramp

primary
#768A23
secondary
#6551B7
accent
#45E364
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768A23

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

Preview Lab → · Contrast checker → · Palette generator →

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