#767D20#767D20

#767D20 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.6% C 0.113 H 113.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#767D20
RGBrgb(118, 125, 32)
HSLhsl(65, 59%, 31%)
HSVhsv(65, 74%, 49%)
CMYKcmyk(5.6%, 0%, 74.4%, 51%)
CIE-LABlab(50.24, -14.94, 46.81)
CIE-LCHlch(50.24, 49.14, 107.70°)
OKLaboklab(56.59% -0.0457 0.1038)
OKLCHoklch(56.59% 0.113 113.8)
XYZxyz(15.0660, 18.6234, 4.1672)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767D20 #27207D
analogous
#7D5520 #767D20 #477D20
triadic
#767D20 #20767D #7D2076
tetradic
#767D20 #207D55 #27207D #7D2047
square
#767D20 #207D55 #27207D #7D2047
split-complementary
#767D20 #20477D #55207D
monochromatic
#1A1C07 #484C14 #767D20 #A4AE2C #C6D047

Accessibility & contrast

On white

4.44
#767D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#767D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767D20
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767D20#FFFFFF#000000##000000
##767D201.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770F
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#7E756B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #767d20;
/* rgb */ color: rgb(118, 125, 32);
/* oklch */ color: oklch(56.6% 0.113 113.8);
Tailwind
colors: {
  custom: {
    50: '#a0a263',
    500: '#767d20',
    950: '#000000',
  },
}
SCSS
$custom: #767d20;
$custom-light: #a0a263;
$custom-dark: #000000;
JSON
{
  "hex": "#767d20",
  "rgb": {
    "r": 118,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 64.516,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56594,
    "c": 0.11341,
    "h": 113.8
  },
  "luminance": 0.18623
}

Semantic roles & 50–950 ramp

primary
#767D20
secondary
#5149B0
accent
#45E251
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F05
muted
#7F7E7A

Preview Lab

Preview with #767D20

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

Preview Lab → · Contrast checker → · Palette generator →

#767D20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva