#768E1B#768E1B

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

Color values

HEX#768E1B
RGBrgb(118, 142, 27)
HSLhsl(73, 68%, 33%)
HSVhsv(73, 81%, 56%)
CMYKcmyk(16.9%, 0%, 81%, 44.3%)
CIE-LABlab(55.36, -23.98, 53.29)
CIE-LCHlch(55.36, 58.44, 114.23°)
OKLaboklab(60.7% -0.0711 0.1166)
OKLCHoklch(60.7% 0.137 121.4)
XYZxyz(17.3424, 23.2767, 4.6159)
Luminance0.2328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768E1B #331B8E
analogous
#8E6C1B #768E1B #3C8E1B
triadic
#768E1B #1B768E #8E1B76
tetradic
#768E1B #1B8E6C #331B8E #8E1B3C
square
#768E1B #1B8E6C #331B8E #8E1B3C
split-complementary
#768E1B #1B3C8E #6C1B8E
monochromatic
#212707 #4B5B11 #768E1B #A1C125 #BDDC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768E1B#FFFFFF#000000##000000
##768E1B1.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)
#978500
Deuteranopia (green-blind)
#948527
Tritanopia (blue-blind)
#7D8679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768e1b;
/* rgb */ color: rgb(118, 142, 27);
/* oklch */ color: oklch(60.7% 0.137 121.4);
Tailwind
colors: {
  custom: {
    50: '#a1af63',
    500: '#768e1b',
    950: '#000000',
  },
}
SCSS
$custom: #768e1b;
$custom-light: #a1af63;
$custom-dark: #000000;
JSON
{
  "hex": "#768e1b",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 72.522,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60698,
    "c": 0.13654,
    "h": 121.4
  },
  "luminance": 0.23277
}

Semantic roles & 50–950 ramp

primary
#768E1B
secondary
#6047BE
accent
#3DEB61
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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