#768720#768720

#768720 is a mid, vivid yellow. Relative luminance 0.213; OKLCH L 59.0% C 0.125 H 118.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#768720
RGBrgb(118, 135, 32)
HSLhsl(70, 62%, 33%)
HSVhsv(70, 76%, 53%)
CMYKcmyk(12.6%, 0%, 76.3%, 47.1%)
CIE-LABlab(53.26, -20.19, 49.70)
CIE-LCHlch(53.26, 53.65, 112.11°)
OKLaboklab(59.02% -0.0603 0.1099)
OKLCHoklch(59.02% 0.125 118.7)
XYZxyz(16.3963, 21.2839, 4.6107)
Luminance0.2128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768720 #312087
analogous
#876420 #768720 #428720
triadic
#768720 #207687 #872076
tetradic
#768720 #208764 #312087 #872042
square
#768720 #208764 #312087 #872042
split-complementary
#768720 #204287 #642087
monochromatic
#202409 #4B5614 #768720 #A1B82C #BED54D

Accessibility & contrast

On white

3.99
#768720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#768720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768720
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768720#FFFFFF#000000##000000
##7687201.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F09
Deuteranopia (green-blind)
#8E8029
Tritanopia (blue-blind)
#7D7F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #768720;
/* rgb */ color: rgb(118, 135, 32);
/* oklch */ color: oklch(59.0% 0.125 118.7);
Tailwind
colors: {
  custom: {
    50: '#a1a964',
    500: '#768720',
    950: '#000000',
  },
}
SCSS
$custom: #768720;
$custom-light: #a1a964;
$custom-dark: #000000;
JSON
{
  "hex": "#768720",
  "rgb": {
    "r": 118,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 69.903,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59016,
    "c": 0.12533,
    "h": 118.7
  },
  "luminance": 0.21284
}

Semantic roles & 50–950 ramp

primary
#768720
secondary
#5D4BB8
accent
#43E55E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768720

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

Preview Lab → · Contrast checker → · Palette generator →

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