#767E28#767E28

#767E28 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.9% C 0.109 H 114.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#767E28
RGBrgb(118, 126, 40)
HSLhsl(66, 52%, 33%)
HSVhsv(66, 68%, 49%)
CMYKcmyk(6.3%, 0%, 68.3%, 50.6%)
CIE-LABlab(50.60, -14.99, 43.92)
CIE-LCHlch(50.60, 46.40, 108.85°)
OKLaboklab(56.9% -0.045 0.0991)
OKLCHoklch(56.9% 0.109 114.4)
XYZxyz(15.3155, 18.9267, 4.8535)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767E28 #30287E
analogous
#7E5B28 #767E28 #4B7E28
triadic
#767E28 #28767E #7E2876
tetradic
#767E28 #287E5B #30287E #7E284B
square
#767E28 #287E5B #30287E #7E284B
split-complementary
#767E28 #284B7E #5B287E
monochromatic
#1F210B #4A5019 #767E28 #A2AC37 #BFCA57

Accessibility & contrast

On white

4.39
#767E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#767E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767E28
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767E28#FFFFFF#000000##000000
##767E281.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781C
Deuteranopia (green-blind)
#87792E
Tritanopia (blue-blind)
#7E776D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #767e28;
/* rgb */ color: rgb(118, 126, 40);
/* oklch */ color: oklch(56.9% 0.109 114.4);
Tailwind
colors: {
  custom: {
    50: '#a0a367',
    500: '#767e28',
    950: '#000000',
  },
}
SCSS
$custom: #767e28;
$custom-light: #a0a367;
$custom-dark: #000000;
JSON
{
  "hex": "#767e28",
  "rgb": {
    "r": 118,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 65.581,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56899,
    "c": 0.10885,
    "h": 114.4
  },
  "luminance": 0.18926
}

Semantic roles & 50–950 ramp

primary
#767E28
secondary
#5C53AF
accent
#4DDB5A
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #767E28

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

Preview Lab → · Contrast checker → · Palette generator →

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