#768517#768517

#768517 is a mid, vivid yellow. Relative luminance 0.207; OKLCH L 58.5% C 0.128 H 117.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#768517
RGBrgb(118, 133, 23)
HSLhsl(68, 71%, 31%)
HSVhsv(68, 83%, 52%)
CMYKcmyk(11.3%, 0%, 82.7%, 47.8%)
CIE-LABlab(52.61, -19.56, 52.02)
CIE-LCHlch(52.61, 55.58, 110.61°)
OKLaboklab(58.48% -0.0593 0.1132)
OKLCHoklch(58.48% 0.128 117.6)
XYZxyz(16.0138, 20.6886, 3.9601)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768517 #261785
analogous
#855D17 #768517 #3F8517
triadic
#768517 #177685 #851776
tetradic
#768517 #17855D #261785 #85173F
square
#768517 #17855D #261785 #85173F
split-complementary
#768517 #173F85 #5D1785
monochromatic
#191D05 #48510E #768517 #A4B920 #C7DD3A

Accessibility & contrast

On white

4.09
#768517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#768517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768517
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768517#FFFFFF#000000##000000
##7685171.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#8D7E22
Tritanopia (blue-blind)
#7E7D71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #768517;
/* rgb */ color: rgb(118, 133, 23);
/* oklch */ color: oklch(58.5% 0.128 117.6);
Tailwind
colors: {
  custom: {
    50: '#a1a860',
    500: '#768517',
    950: '#000000',
  },
}
SCSS
$custom: #768517;
$custom-light: #a1a860;
$custom-dark: #000000;
JSON
{
  "hex": "#768517",
  "rgb": {
    "r": 118,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 68.182,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.58477,
    "c": 0.12776,
    "h": 117.6
  },
  "luminance": 0.20688
}

Semantic roles & 50–950 ramp

primary
#768517
secondary
#4F3FB9
accent
#3BED53
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #768517

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

Preview Lab → · Contrast checker → · Palette generator →

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