#768020#768020

#768020 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.3% C 0.117 H 115.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#768020
RGBrgb(118, 128, 32)
HSLhsl(66, 60%, 31%)
HSVhsv(66, 75%, 50%)
CMYKcmyk(7.8%, 0%, 75%, 49.8%)
CIE-LABlab(51.15, -16.53, 47.68)
CIE-LCHlch(51.15, 50.47, 109.12°)
OKLaboklab(57.32% -0.0501 0.1056)
OKLCHoklch(57.32% 0.117 115.4)
XYZxyz(15.4515, 19.3944, 4.2957)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768020 #2A2080
analogous
#805A20 #768020 #468020
triadic
#768020 #207680 #802076
tetradic
#768020 #20805A #2A2080 #802046
square
#768020 #20805A #2A2080 #802046
split-complementary
#768020 #204680 #5A2080
monochromatic
#1C1E08 #494F14 #768020 #A3B12C #C3D149

Accessibility & contrast

On white

4.30
#768020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#768020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768020
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768020#FFFFFF#000000##000000
##7680201.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790D
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#7E786E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #768020;
/* rgb */ color: rgb(118, 128, 32);
/* oklch */ color: oklch(57.3% 0.117 115.4);
Tailwind
colors: {
  custom: {
    50: '#a0a463',
    500: '#768020',
    950: '#000000',
  },
}
SCSS
$custom: #768020;
$custom-light: #a0a463;
$custom-dark: #000000;
JSON
{
  "hex": "#768020",
  "rgb": {
    "r": 118,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 66.25,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57317,
    "c": 0.11693,
    "h": 115.4
  },
  "luminance": 0.19394
}

Semantic roles & 50–950 ramp

primary
#768020
secondary
#5449B3
accent
#45E355
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768020

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

Preview Lab → · Contrast checker → · Palette generator →

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