#767E1F#767E1F

#767E1F is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.8% C 0.115 H 114.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#767E1F
RGBrgb(118, 126, 31)
HSLhsl(65, 61%, 31%)
HSVhsv(65, 75%, 49%)
CMYKcmyk(6.3%, 0%, 75.4%, 50.6%)
CIE-LABlab(50.54, -15.52, 47.47)
CIE-LCHlch(50.54, 49.95, 108.11°)
OKLaboklab(56.83% -0.0474 0.105)
OKLCHoklch(56.83% 0.115 114.3)
XYZxyz(15.1798, 18.8725, 4.1392)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767E1F #271F7E
analogous
#7E561F #767E1F #467E1F
triadic
#767E1F #1F767E #7E1F76
tetradic
#767E1F #1F7E56 #271F7E #7E1F46
square
#767E1F #1F7E56 #271F7E #7E1F46
split-complementary
#767E1F #1F467E #561F7E
monochromatic
#1A1C07 #484D13 #767E1F #A4AF2B #C6D146

Accessibility & contrast

On white

4.40
#767E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#767E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767E1F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767E1F#FFFFFF#000000##000000
##767E1F1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780C
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#7E766C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #767e1f;
/* rgb */ color: rgb(118, 126, 31);
/* oklch */ color: oklch(56.8% 0.115 114.3);
Tailwind
colors: {
  custom: {
    50: '#a0a362',
    500: '#767e1f',
    950: '#000000',
  },
}
SCSS
$custom: #767e1f;
$custom-light: #a0a362;
$custom-dark: #000000;
JSON
{
  "hex": "#767e1f",
  "rgb": {
    "r": 118,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 65.053,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56828,
    "c": 0.11522,
    "h": 114.3
  },
  "luminance": 0.18872
}

Semantic roles & 50–950 ramp

primary
#767E1F
secondary
#5148B1
accent
#44E452
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #767E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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