#767A22#767A22

#767A22 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 55.9% C 0.109 H 112.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#767A22
RGBrgb(118, 122, 34)
HSLhsl(63, 56%, 31%)
HSVhsv(63, 72%, 48%)
CMYKcmyk(3.3%, 0%, 72.1%, 52.2%)
CIE-LABlab(49.36, -13.21, 45.16)
CIE-LCHlch(49.36, 47.05, 106.30°)
OKLaboklab(55.89% -0.0407 0.1007)
OKLCHoklch(55.89% 0.109 112)
XYZxyz(14.7199, 17.8865, 4.1901)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767A22 #26227A
analogous
#7A5222 #767A22 #4A7A22
triadic
#767A22 #22767A #7A2276
tetradic
#767A22 #227A52 #26227A #7A224A
square
#767A22 #227A52 #26227A #7A224A
split-complementary
#767A22 #224A7A #52227A
monochromatic
#191A07 #484A15 #767A22 #A4AA2F #C7CD4A

Accessibility & contrast

On white

4.59
#767A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#767A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #767A22
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767A22#FFFFFF#000000##FFFFFF
##767A221.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847414
Deuteranopia (green-blind)
#847629
Tritanopia (blue-blind)
#7E7269
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #767a22;
/* rgb */ color: rgb(118, 122, 34);
/* oklch */ color: oklch(55.9% 0.109 112.0);
Tailwind
colors: {
  custom: {
    50: '#a0a063',
    500: '#767a22',
    950: '#000000',
  },
}
SCSS
$custom: #767a22;
$custom-light: #a0a063;
$custom-dark: #000000;
JSON
{
  "hex": "#767a22",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 62.727,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55889,
    "c": 0.10859,
    "h": 112
  },
  "luminance": 0.17886
}

Semantic roles & 50–950 ramp

primary
#767A22
secondary
#4F4BAD
accent
#48E04F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #767A22

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

Preview Lab → · Contrast checker → · Palette generator →

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