#767C2F#767C2F

#767C2F is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.5% C 0.100 H 113.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#767C2F
RGBrgb(118, 124, 47)
HSLhsl(65, 45%, 34%)
HSVhsv(65, 62%, 49%)
CMYKcmyk(4.8%, 0%, 62.1%, 51.4%)
CIE-LABlab(50.06, -13.41, 40.18)
CIE-LCHlch(50.06, 42.36, 108.45°)
OKLaboklab(56.49% -0.0398 0.0923)
OKLCHoklch(56.49% 0.1 113.3)
XYZxyz(15.1923, 18.4724, 5.4540)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767C2F #352F7C
analogous
#7C5B2F #767C2F #4F7C2F
triadic
#767C2F #2F767C #7C2F76
tetradic
#767C2F #2F7C5B #352F7C #7C2F4F
square
#767C2F #2F7C5B #352F7C #7C2F4F
split-complementary
#767C2F #2F4F7C #5B2F7C
monochromatic
#22230D #4C501E #767C2F #A0A840 #BCC362

Accessibility & contrast

On white

4.47
#767C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#767C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767C2F
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767C2F#FFFFFF#000000##000000
##767C2F1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#857626
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#7E756C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #767c2f;
/* rgb */ color: rgb(118, 124, 47);
/* oklch */ color: oklch(56.5% 0.100 113.3);
Tailwind
colors: {
  custom: {
    50: '#a0a16b',
    500: '#767c2f',
    950: '#000000',
  },
}
SCSS
$custom: #767c2f;
$custom-light: #a0a16b;
$custom-dark: #000000;
JSON
{
  "hex": "#767c2f",
  "rgb": {
    "r": 118,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 64.675,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56489,
    "c": 0.10049,
    "h": 113.3
  },
  "luminance": 0.18472
}

Semantic roles & 50–950 ramp

primary
#767C2F
secondary
#635CAA
accent
#53D55D
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0F07
muted
#7F7E7A

Preview Lab

Preview with #767C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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