#768B23#768B23

#768B23 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 60.0% C 0.128 H 120.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#768B23
RGBrgb(118, 139, 35)
HSLhsl(72, 60%, 34%)
HSVhsv(72, 75%, 55%)
CMYKcmyk(15.1%, 0%, 74.8%, 45.5%)
CIE-LABlab(54.49, -22.08, 49.79)
CIE-LCHlch(54.49, 54.47, 113.91°)
OKLaboklab(60.01% -0.0652 0.1106)
OKLCHoklch(60.01% 0.128 120.5)
XYZxyz(17.0075, 22.4382, 5.0248)
Luminance0.2244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768B23 #38238B
analogous
#8B6C23 #768B23 #428B23
triadic
#768B23 #23768B #8B2376
tetradic
#768B23 #238B6C #38238B #8B2342
square
#768B23 #238B6C #38238B #8B2342
split-complementary
#768B23 #23428B #6C238B
monochromatic
#23290A #4C5A17 #768B23 #A0BC2F #BAD454

Accessibility & contrast

On white

3.83
#768B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#768B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768B23
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768B23#FFFFFF#000000##000000
##768B231.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830E
Deuteranopia (green-blind)
#91832C
Tritanopia (blue-blind)
#7D8377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #768b23;
/* rgb */ color: rgb(118, 139, 35);
/* oklch */ color: oklch(60.0% 0.128 120.5);
Tailwind
colors: {
  custom: {
    50: '#a1ac66',
    500: '#768b23',
    950: '#000000',
  },
}
SCSS
$custom: #768b23;
$custom-light: #a1ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#768b23",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 72.115,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60013,
    "c": 0.12839,
    "h": 120.5
  },
  "luminance": 0.22438
}

Semantic roles & 50–950 ramp

primary
#768B23
secondary
#6652B8
accent
#45E365
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768B23

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

Preview Lab → · Contrast checker → · Palette generator →

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