#768816#768816

#768816 is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.2% C 0.132 H 118.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#768816
RGBrgb(118, 136, 22)
HSLhsl(69, 72%, 31%)
HSVhsv(69, 84%, 53%)
CMYKcmyk(13.2%, 0%, 83.8%, 46.7%)
CIE-LABlab(53.51, -21.14, 53.10)
CIE-LCHlch(53.51, 57.16, 111.71°)
OKLaboklab(59.2% -0.0637 0.1153)
OKLCHoklch(59.2% 0.132 118.9)
XYZxyz(16.4206, 21.5179, 4.0472)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768816 #281688
analogous
#886116 #768816 #3D8816
triadic
#768816 #167688 #881676
tetradic
#768816 #168861 #281688 #88163D
square
#768816 #168861 #281688 #88163D
split-complementary
#768816 #163D88 #611688
monochromatic
#1B1F05 #48530D #768816 #A4BD1F #C5DF39

Accessibility & contrast

On white

3.96
#768816 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#768816 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768816
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768816#FFFFFF#000000##000000
##7688161.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#8F8022
Tritanopia (blue-blind)
#7E8074
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #768816;
/* rgb */ color: rgb(118, 136, 22);
/* oklch */ color: oklch(59.2% 0.132 118.9);
Tailwind
colors: {
  custom: {
    50: '#a1aa60',
    500: '#768816',
    950: '#000000',
  },
}
SCSS
$custom: #768816;
$custom-light: #a1aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#768816",
  "rgb": {
    "r": 118,
    "g": 136,
    "b": 22
  },
  "hsl": {
    "h": 69.474,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.59204,
    "c": 0.13172,
    "h": 118.9
  },
  "luminance": 0.21518
}

Semantic roles & 50–950 ramp

primary
#768816
secondary
#523EBC
accent
#39EF56
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F1005
muted
#7F7F79

Preview Lab

Preview with #768816

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

Preview Lab → · Contrast checker → · Palette generator →

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