#768416#768416

#768416 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#768416
RGBrgb(118, 132, 22)
HSLhsl(68, 71%, 30%)
HSVhsv(68, 83%, 52%)
CMYKcmyk(10.6%, 0%, 83.3%, 48.2%)
CIE-LABlab(52.30, -19.08, 52.04)
CIE-LCHlch(52.30, 55.43, 110.14°)
OKLaboklab(58.23% -0.058 0.113)
OKLCHoklch(58.23% 0.127 117.2)
XYZxyz(15.8677, 20.4122, 3.8629)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768416 #241684
analogous
#845B16 #768416 #3F8416
triadic
#768416 #167684 #841676
tetradic
#768416 #16845B #241684 #84163F
square
#768416 #16845B #241684 #84163F
split-complementary
#768416 #163F84 #5B1684
monochromatic
#181B05 #47500D #768416 #A5B81F #C8DE37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768416#FFFFFF#000000##000000
##7684161.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)
#8C7D21
Tritanopia (blue-blind)
#7E7C70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #768416;
/* rgb */ color: rgb(118, 132, 22);
/* oklch */ color: oklch(58.2% 0.127 117.2);
Tailwind
colors: {
  custom: {
    50: '#a1a75f',
    500: '#768416',
    950: '#000000',
  },
}
SCSS
$custom: #768416;
$custom-light: #a1a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#768416",
  "rgb": {
    "r": 118,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 67.636,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.58228,
    "c": 0.12706,
    "h": 117.2
  },
  "luminance": 0.20412
}

Semantic roles & 50–950 ramp

primary
#768416
secondary
#4D3DB8
accent
#3AEE51
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #768416

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

Preview Lab → · Contrast checker → · Palette generator →

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