#767D22#767D22

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

Color values

HEX#767D22
RGBrgb(118, 125, 34)
HSLhsl(65, 57%, 31%)
HSVhsv(65, 73%, 49%)
CMYKcmyk(5.6%, 0%, 72.8%, 51%)
CIE-LABlab(50.26, -14.83, 46.05)
CIE-LCHlch(50.26, 48.38, 107.85°)
OKLaboklab(56.61% -0.0452 0.1026)
OKLCHoklch(56.61% 0.112 113.8)
XYZxyz(15.0940, 18.6346, 4.3148)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767D22 #29227D
analogous
#7D5622 #767D22 #487D22
triadic
#767D22 #22767D #7D2276
tetradic
#767D22 #227D56 #29227D #7D2248
square
#767D22 #227D56 #29227D #7D2248
split-complementary
#767D22 #22487D #56227D
monochromatic
#1B1D08 #494D15 #767D22 #A3AD2F #C4CE4B

Accessibility & contrast

On white

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

On black

4.73
#767D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767D22
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767D22#FFFFFF#000000##000000
##767D221.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867712
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#7E756B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #767d22;
/* rgb */ color: rgb(118, 125, 34);
/* oklch */ color: oklch(56.6% 0.112 113.8);
Tailwind
colors: {
  custom: {
    50: '#a0a264',
    500: '#767d22',
    950: '#000000',
  },
}
SCSS
$custom: #767d22;
$custom-light: #a0a264;
$custom-dark: #000000;
JSON
{
  "hex": "#767d22",
  "rgb": {
    "r": 118,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 64.615,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56609,
    "c": 0.11207,
    "h": 113.8
  },
  "luminance": 0.18634
}

Semantic roles & 50–950 ramp

primary
#767D22
secondary
#534BB0
accent
#47E053
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #767D22

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

Preview Lab → · Contrast checker → · Palette generator →

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