#768E18#768E18

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

Color values

HEX#768E18
RGBrgb(118, 142, 24)
HSLhsl(72, 71%, 33%)
HSVhsv(72, 83%, 56%)
CMYKcmyk(16.9%, 0%, 83.1%, 44.3%)
CIE-LABlab(55.34, -24.10, 54.15)
CIE-LCHlch(55.34, 59.27, 113.99°)
OKLaboklab(60.68% -0.0716 0.1179)
OKLCHoklch(60.68% 0.138 121.3)
XYZxyz(17.3094, 23.2635, 4.4424)
Luminance0.2326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768E18 #30188E
analogous
#8E6B18 #768E18 #3B8E18
triadic
#768E18 #18768E #8E1876
tetradic
#768E18 #188E6B #30188E #8E183B
square
#768E18 #188E6B #30188E #8E183B
split-complementary
#768E18 #183B8E #6B188E
monochromatic
#1F2506 #4A5A0F #768E18 #A2C221 #BFDF41

Accessibility & contrast

On white

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

On black

5.65
#768E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768E18
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768E18#FFFFFF#000000##000000
##768E181.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#948525
Tritanopia (blue-blind)
#7D8679
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #768e18;
/* rgb */ color: rgb(118, 142, 24);
/* oklch */ color: oklch(60.7% 0.138 121.3);
Tailwind
colors: {
  custom: {
    50: '#a1af61',
    500: '#768e18',
    950: '#000000',
  },
}
SCSS
$custom: #768e18;
$custom-light: #a1af61;
$custom-dark: #000000;
JSON
{
  "hex": "#768e18",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 72.203,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60683,
    "c": 0.13795,
    "h": 121.3
  },
  "luminance": 0.23264
}

Semantic roles & 50–950 ramp

primary
#768E18
secondary
#5C42C0
accent
#3AEE5F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768E18

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

Preview Lab → · Contrast checker → · Palette generator →

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