#768E23#768E23

#768E23 is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.7% C 0.132 H 121.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#768E23
RGBrgb(118, 142, 35)
HSLhsl(73, 60%, 35%)
HSVhsv(73, 75%, 56%)
CMYKcmyk(16.9%, 0%, 75.4%, 44.3%)
CIE-LABlab(55.40, -23.59, 50.67)
CIE-LCHlch(55.40, 55.89, 114.96°)
OKLaboklab(60.75% -0.0694 0.1125)
OKLCHoklch(60.75% 0.132 121.7)
XYZxyz(17.4479, 23.3189, 5.1716)
Luminance0.2332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768E23 #3B238E
analogous
#8E7123 #768E23 #418E23
triadic
#768E23 #23768E #8E2376
tetradic
#768E23 #238E71 #3B238E #8E2341
square
#768E23 #238E71 #3B238E #8E2341
split-complementary
#768E23 #23418E #71238E
monochromatic
#242C0B #4D5D17 #768E23 #9FBF2F #B9D556

Accessibility & contrast

On white

3.71
#768E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#768E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768E23
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768E23#FFFFFF#000000##000000
##768E231.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850D
Deuteranopia (green-blind)
#94852D
Tritanopia (blue-blind)
#7D867A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768e23;
/* rgb */ color: rgb(118, 142, 35);
/* oklch */ color: oklch(60.7% 0.132 121.7);
Tailwind
colors: {
  custom: {
    50: '#a1af66',
    500: '#768e23',
    950: '#000000',
  },
}
SCSS
$custom: #768e23;
$custom-light: #a1af66;
$custom-dark: #000000;
JSON
{
  "hex": "#768e23",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 73.458,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60747,
    "c": 0.13213,
    "h": 121.7
  },
  "luminance": 0.23319
}

Semantic roles & 50–950 ramp

primary
#768E23
secondary
#6A53B9
accent
#44E468
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768E23

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

Preview Lab → · Contrast checker → · Palette generator →

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