#768F1B#768F1B

#768F1B is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 60.9% C 0.138 H 121.7°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#768F1B
RGBrgb(118, 143, 27)
HSLhsl(73, 68%, 33%)
HSVhsv(73, 81%, 56%)
CMYKcmyk(17.5%, 0%, 81.1%, 43.9%)
CIE-LABlab(55.66, -24.48, 53.57)
CIE-LCHlch(55.66, 58.89, 114.56°)
OKLaboklab(60.94% -0.0724 0.1172)
OKLCHoklch(60.94% 0.138 121.7)
XYZxyz(17.4918, 23.5756, 4.6657)
Luminance0.2358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F1B #341B8F
analogous
#8F6E1B #768F1B #3C8F1B
triadic
#768F1B #1B768F #8F1B76
tetradic
#768F1B #1B8F6E #341B8F #8F1B3C
square
#768F1B #1B8F6E #341B8F #8F1B3C
split-complementary
#768F1B #1B3C8F #6E1B8F
monochromatic
#212808 #4C5C11 #768F1B #A0C225 #BCDC48

Accessibility & contrast

On white

3.67
#768F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#768F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768F1B
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768F1B#FFFFFF#000000##000000
##768F1B1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#958527
Tritanopia (blue-blind)
#7D877A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768f1b;
/* rgb */ color: rgb(118, 143, 27);
/* oklch */ color: oklch(60.9% 0.138 121.7);
Tailwind
colors: {
  custom: {
    50: '#a1af63',
    500: '#768f1b',
    950: '#000000',
  },
}
SCSS
$custom: #768f1b;
$custom-light: #a1af63;
$custom-dark: #000000;
JSON
{
  "hex": "#768f1b",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 72.931,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60944,
    "c": 0.13775,
    "h": 121.7
  },
  "luminance": 0.23576
}

Semantic roles & 50–950 ramp

primary
#768F1B
secondary
#6148BE
accent
#3DEB62
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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