#767F22#767F22

#767F22 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.1% C 0.114 H 114.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#767F22
RGBrgb(118, 127, 34)
HSLhsl(66, 58%, 32%)
HSVhsv(66, 73%, 50%)
CMYKcmyk(7.1%, 0%, 73.2%, 50.2%)
CIE-LABlab(50.86, -15.89, 46.64)
CIE-LCHlch(50.86, 49.27, 108.82°)
OKLaboklab(57.09% -0.0482 0.1038)
OKLCHoklch(57.09% 0.114 114.9)
XYZxyz(15.3497, 19.1461, 4.4000)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767F22 #2B227F
analogous
#7F5A22 #767F22 #487F22
triadic
#767F22 #22767F #7F2276
tetradic
#767F22 #227F5A #2B227F #7F2248
square
#767F22 #227F5A #2B227F #7F2248
split-complementary
#767F22 #22487F #5A227F
monochromatic
#1C1E08 #494F15 #767F22 #A3AF2F #C2CF4C

Accessibility & contrast

On white

4.35
#767F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#767F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767F22
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767F22#FFFFFF#000000##000000
##767F221.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887812
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#7E776D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #767f22;
/* rgb */ color: rgb(118, 127, 34);
/* oklch */ color: oklch(57.1% 0.114 114.9);
Tailwind
colors: {
  custom: {
    50: '#a0a464',
    500: '#767f22',
    950: '#000000',
  },
}
SCSS
$custom: #767f22;
$custom-light: #a0a464;
$custom-dark: #000000;
JSON
{
  "hex": "#767f22",
  "rgb": {
    "r": 118,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 65.806,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57091,
    "c": 0.11442,
    "h": 114.9
  },
  "luminance": 0.19146
}

Semantic roles & 50–950 ramp

primary
#767F22
secondary
#554BB2
accent
#47E156
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #767F22

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

Preview Lab → · Contrast checker → · Palette generator →

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