#768620#768620

#768620 is a mid, vivid yellow. Relative luminance 0.210; OKLCH L 58.8% C 0.124 H 118.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#768620
RGBrgb(118, 134, 32)
HSLhsl(69, 61%, 33%)
HSVhsv(69, 76%, 53%)
CMYKcmyk(11.9%, 0%, 76.1%, 47.5%)
CIE-LABlab(52.96, -19.68, 49.41)
CIE-LCHlch(52.96, 53.19, 111.71°)
OKLaboklab(58.77% -0.0588 0.1093)
OKLCHoklch(58.77% 0.124 118.3)
XYZxyz(16.2574, 21.0062, 4.5644)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768620 #302086
analogous
#866320 #768620 #438620
triadic
#768620 #207686 #862076
tetradic
#768620 #208663 #302086 #862043
square
#768620 #208663 #302086 #862043
split-complementary
#768620 #204386 #632086
monochromatic
#1F2308 #4A5514 #768620 #A2B72C #BFD44C

Accessibility & contrast

On white

4.04
#768620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#768620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768620
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768620#FFFFFF#000000##000000
##7686201.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0A
Deuteranopia (green-blind)
#8E7F29
Tritanopia (blue-blind)
#7D7E73
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #768620;
/* rgb */ color: rgb(118, 134, 32);
/* oklch */ color: oklch(58.8% 0.124 118.3);
Tailwind
colors: {
  custom: {
    50: '#a1a964',
    500: '#768620',
    950: '#000000',
  },
}
SCSS
$custom: #768620;
$custom-light: #a1a964;
$custom-dark: #000000;
JSON
{
  "hex": "#768620",
  "rgb": {
    "r": 118,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 69.412,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58772,
    "c": 0.12411,
    "h": 118.3
  },
  "luminance": 0.21006
}

Semantic roles & 50–950 ramp

primary
#768620
secondary
#5C4BB7
accent
#43E55D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768620

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

Preview Lab → · Contrast checker → · Palette generator →

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