#767C28#767C28

#767C28 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.4% C 0.106 H 113.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#767C28
RGBrgb(118, 124, 40)
HSLhsl(64, 51%, 32%)
HSVhsv(64, 68%, 49%)
CMYKcmyk(4.8%, 0%, 67.7%, 51.4%)
CIE-LABlab(50.00, -13.92, 43.30)
CIE-LCHlch(50.00, 45.48, 107.82°)
OKLaboklab(56.42% -0.042 0.0978)
OKLCHoklch(56.42% 0.106 113.3)
XYZxyz(15.0623, 18.4204, 4.7691)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767C28 #2E287C
analogous
#7C5828 #767C28 #4C7C28
triadic
#767C28 #28767C #7C2876
tetradic
#767C28 #287C58 #2E287C #7C284C
square
#767C28 #287C58 #2E287C #7C284C
split-complementary
#767C28 #284C7C #58287C
monochromatic
#1E1F0A #4A4E19 #767C28 #A2AA37 #C0C856

Accessibility & contrast

On white

4.48
#767C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#767C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767C28
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767C28#FFFFFF#000000##000000
##767C281.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#85761C
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#7E756B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #767c28;
/* rgb */ color: rgb(118, 124, 40);
/* oklch */ color: oklch(56.4% 0.106 113.3);
Tailwind
colors: {
  custom: {
    50: '#a0a167',
    500: '#767c28',
    950: '#000000',
  },
}
SCSS
$custom: #767c28;
$custom-light: #a0a167;
$custom-dark: #000000;
JSON
{
  "hex": "#767c28",
  "rgb": {
    "r": 118,
    "g": 124,
    "b": 40
  },
  "hsl": {
    "h": 64.286,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56419,
    "c": 0.10644,
    "h": 113.3
  },
  "luminance": 0.1842
}

Semantic roles & 50–950 ramp

primary
#767C28
secondary
#5952AD
accent
#4DDB57
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #767C28

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

Preview Lab → · Contrast checker → · Palette generator →

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