#768417#768417

#768417 is a mid, vivid yellow. Relative luminance 0.204; OKLCH L 58.2% C 0.127 H 117.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#768417
RGBrgb(118, 132, 23)
HSLhsl(68, 70%, 30%)
HSVhsv(68, 83%, 52%)
CMYKcmyk(10.6%, 0%, 82.6%, 48.2%)
CIE-LABlab(52.30, -19.04, 51.76)
CIE-LCHlch(52.30, 55.15, 110.20°)
OKLaboklab(58.23% -0.0578 0.1126)
OKLCHoklch(58.23% 0.127 117.2)
XYZxyz(15.8775, 20.4161, 3.9147)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768417 #251784
analogous
#845B17 #768417 #408417
triadic
#768417 #177684 #841776
tetradic
#768417 #17845B #251784 #841740
square
#768417 #17845B #251784 #841740
split-complementary
#768417 #174084 #5B1784
monochromatic
#191C05 #47500E #768417 #A5B820 #C7DC39

Accessibility & contrast

On white

4.13
#768417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#768417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768417
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768417#FFFFFF#000000##000000
##7684171.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7C00
Deuteranopia (green-blind)
#8C7D22
Tritanopia (blue-blind)
#7E7C70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #768417;
/* rgb */ color: rgb(118, 132, 23);
/* oklch */ color: oklch(58.2% 0.127 117.2);
Tailwind
colors: {
  custom: {
    50: '#a1a760',
    500: '#768417',
    950: '#000000',
  },
}
SCSS
$custom: #768417;
$custom-light: #a1a760;
$custom-dark: #000000;
JSON
{
  "hex": "#768417",
  "rgb": {
    "r": 118,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 67.706,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.58233,
    "c": 0.12659,
    "h": 117.2
  },
  "luminance": 0.20416
}

Semantic roles & 50–950 ramp

primary
#768417
secondary
#4E3FB8
accent
#3BED52
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #768417

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

Preview Lab → · Contrast checker → · Palette generator →

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