#767A2F#767A2F

#767A2F is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.0% C 0.098 H 112.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#767A2F
RGBrgb(118, 122, 47)
HSLhsl(63, 44%, 33%)
HSVhsv(63, 61%, 48%)
CMYKcmyk(3.3%, 0%, 61.5%, 52.2%)
CIE-LABlab(49.47, -12.32, 39.52)
CIE-LCHlch(49.47, 41.40, 107.31°)
OKLaboklab(56.01% -0.0367 0.0909)
OKLCHoklch(56.01% 0.098 112)
XYZxyz(14.9442, 17.9762, 5.3713)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767A2F #332F7A
analogous
#7A582F #767A2F #507A2F
triadic
#767A2F #2F767A #7A2F76
tetradic
#767A2F #2F7A58 #332F7A #7A2F50
square
#767A2F #2F7A58 #332F7A #7A2F50
split-complementary
#767A2F #2F507A #582F7A
monochromatic
#21220D #4B4E1E #767A2F #A1A640 #BDC261

Accessibility & contrast

On white

4.57
#767A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#767A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767A2F
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767A2F#FFFFFF#000000##000000
##767A2F1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#837527
Deuteranopia (green-blind)
#837734
Tritanopia (blue-blind)
#7E736A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #767a2f;
/* rgb */ color: rgb(118, 122, 47);
/* oklch */ color: oklch(56.0% 0.098 112.0);
Tailwind
colors: {
  custom: {
    50: '#a0a06b',
    500: '#767a2f',
    950: '#000000',
  },
}
SCSS
$custom: #767a2f;
$custom-light: #a0a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#767a2f",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 63.2,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56011,
    "c": 0.09803,
    "h": 112
  },
  "luminance": 0.17976
}

Semantic roles & 50–950 ramp

primary
#767A2F
secondary
#605CA9
accent
#54D45B
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #767A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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