#768718#768718

#768718 is a mid, vivid yellow. Relative luminance 0.212; OKLCH L 59.0% C 0.130 H 118.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#768718
RGBrgb(118, 135, 24)
HSLhsl(69, 70%, 31%)
HSVhsv(69, 82%, 53%)
CMYKcmyk(12.6%, 0%, 82.2%, 47.1%)
CIE-LABlab(53.22, -20.56, 52.27)
CIE-LCHlch(53.22, 56.17, 111.47°)
OKLaboklab(58.97% -0.0619 0.1139)
OKLCHoklch(58.97% 0.13 118.5)
XYZxyz(16.3004, 21.2456, 4.1061)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768718 #291887
analogous
#876018 #768718 #3E8718
triadic
#768718 #187687 #871876
tetradic
#768718 #188760 #291887 #87183E
square
#768718 #188760 #291887 #87183E
split-complementary
#768718 #183E87 #601887
monochromatic
#1B1F06 #49530F #768718 #A3BB21 #C4DC3D

Accessibility & contrast

On white

4.00
#768718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#768718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768718
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768718#FFFFFF#000000##000000
##7687181.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#7E7F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #768718;
/* rgb */ color: rgb(118, 135, 24);
/* oklch */ color: oklch(59.0% 0.130 118.5);
Tailwind
colors: {
  custom: {
    50: '#a1a960',
    500: '#768718',
    950: '#000000',
  },
}
SCSS
$custom: #768718;
$custom-light: #a1a960;
$custom-dark: #000000;
JSON
{
  "hex": "#768718",
  "rgb": {
    "r": 118,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 69.189,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58969,
    "c": 0.12963,
    "h": 118.5
  },
  "luminance": 0.21245
}

Semantic roles & 50–950 ramp

primary
#768718
secondary
#5340BB
accent
#3BED56
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768718

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

Preview Lab → · Contrast checker → · Palette generator →

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