#767E2F#767E2F

#767E2F is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.0% C 0.103 H 114.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#767E2F
RGBrgb(118, 126, 47)
HSLhsl(66, 46%, 34%)
HSVhsv(66, 63%, 49%)
CMYKcmyk(6.3%, 0%, 62.7%, 50.6%)
CIE-LABlab(50.66, -14.49, 40.83)
CIE-LCHlch(50.66, 43.33, 109.53°)
OKLaboklab(56.97% -0.0428 0.0937)
OKLCHoklch(56.97% 0.103 114.6)
XYZxyz(15.4455, 18.9787, 5.5384)
Luminance0.1898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767E2F #372F7E
analogous
#7E5F2F #767E2F #4F7E2F
triadic
#767E2F #2F767E #7E2F76
tetradic
#767E2F #2F7E5F #372F7E #7E2F4F
square
#767E2F #2F7E5F #372F7E #7E2F4F
split-complementary
#767E2F #2F4F7E #5F2F7E
monochromatic
#23250E #4C511E #767E2F #A0AB40 #BBC563

Accessibility & contrast

On white

4.38
#767E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#767E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767E2F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767E2F#FFFFFF#000000##000000
##767E2F1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877826
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#7D776D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #767e2f;
/* rgb */ color: rgb(118, 126, 47);
/* oklch */ color: oklch(57.0% 0.103 114.6);
Tailwind
colors: {
  custom: {
    50: '#a0a36b',
    500: '#767e2f',
    950: '#000000',
  },
}
SCSS
$custom: #767e2f;
$custom-light: #a0a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#767e2f",
  "rgb": {
    "r": 118,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 66.076,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56968,
    "c": 0.10299,
    "h": 114.6
  },
  "luminance": 0.18978
}

Semantic roles & 50–950 ramp

primary
#767E2F
secondary
#655DAC
accent
#52D560
background
#FAFAF6
surface
#F3F3EB
border
#CDCDC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #767E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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