#768618#768618

#768618 is a mid, vivid yellow. Relative luminance 0.210; OKLCH L 58.7% C 0.128 H 118.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#768618
RGBrgb(118, 134, 24)
HSLhsl(69, 70%, 31%)
HSVhsv(69, 82%, 53%)
CMYKcmyk(11.9%, 0%, 82.1%, 47.5%)
CIE-LABlab(52.91, -20.04, 52.00)
CIE-LCHlch(52.91, 55.73, 111.08°)
OKLaboklab(58.73% -0.0605 0.1133)
OKLCHoklch(58.73% 0.128 118.1)
XYZxyz(16.1616, 20.9679, 4.0598)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768618 #281886
analogous
#865F18 #768618 #3F8618
triadic
#768618 #187686 #861876
tetradic
#768618 #18865F #281886 #86183F
square
#768618 #18865F #281886 #86183F
split-complementary
#768618 #183F86 #5F1886
monochromatic
#1B1E05 #48520F #768618 #A4BA21 #C5DC3C

Accessibility & contrast

On white

4.04
#768618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#768618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768618
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768618#FFFFFF#000000##000000
##7686181.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#7E7E72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #768618;
/* rgb */ color: rgb(118, 134, 24);
/* oklch */ color: oklch(58.7% 0.128 118.1);
Tailwind
colors: {
  custom: {
    50: '#a1a960',
    500: '#768618',
    950: '#000000',
  },
}
SCSS
$custom: #768618;
$custom-light: #a1a960;
$custom-dark: #000000;
JSON
{
  "hex": "#768618",
  "rgb": {
    "r": 118,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 68.727,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58725,
    "c": 0.12845,
    "h": 118.1
  },
  "luminance": 0.20968
}

Semantic roles & 50–950 ramp

primary
#768618
secondary
#5240BA
accent
#3BEC55
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #768618

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

Preview Lab → · Contrast checker → · Palette generator →

#768618 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva