#767D28#767D28

#767D28 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.7% C 0.108 H 113.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#767D28
RGBrgb(118, 125, 40)
HSLhsl(65, 52%, 32%)
HSVhsv(65, 68%, 49%)
CMYKcmyk(5.6%, 0%, 68%, 51%)
CIE-LABlab(50.30, -14.46, 43.61)
CIE-LCHlch(50.30, 45.94, 108.34°)
OKLaboklab(56.66% -0.0435 0.0985)
OKLCHoklch(56.66% 0.108 113.9)
XYZxyz(15.1882, 18.6723, 4.8111)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767D28 #2F287D
analogous
#7D5928 #767D28 #4C7D28
triadic
#767D28 #28767D #7D2876
tetradic
#767D28 #287D59 #2F287D #7D284C
square
#767D28 #287D59 #2F287D #7D284C
split-complementary
#767D28 #284C7D #59287D
monochromatic
#1E200A #4A4F19 #767D28 #A2AB37 #C0C956

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##767D28#FFFFFF#000000##000000
##767D281.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)
#86771C
Deuteranopia (green-blind)
#86792E
Tritanopia (blue-blind)
#7E766C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #767d28;
/* rgb */ color: rgb(118, 125, 40);
/* oklch */ color: oklch(56.7% 0.108 113.9);
Tailwind
colors: {
  custom: {
    50: '#a0a267',
    500: '#767d28',
    950: '#000000',
  },
}
SCSS
$custom: #767d28;
$custom-light: #a0a267;
$custom-dark: #000000;
JSON
{
  "hex": "#767d28",
  "rgb": {
    "r": 118,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 64.941,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56659,
    "c": 0.10764,
    "h": 113.9
  },
  "luminance": 0.18672
}

Semantic roles & 50–950 ramp

primary
#767D28
secondary
#5A53AE
accent
#4DDB59
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #767D28

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

Preview Lab → · Contrast checker → · Palette generator →

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