#767E1A#767E1A

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

Color values

HEX#767E1A
RGBrgb(118, 126, 26)
HSLhsl(65, 66%, 30%)
HSVhsv(65, 79%, 49%)
CMYKcmyk(6.3%, 0%, 79.4%, 50.6%)
CIE-LABlab(50.51, -15.76, 49.20)
CIE-LCHlch(50.51, 51.67, 107.76°)
OKLaboklab(56.8% -0.0486 0.1077)
OKLCHoklch(56.8% 0.118 114.3)
XYZxyz(15.1190, 18.8481, 3.8187)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767E1A #221A7E
analogous
#7E541A #767E1A #447E1A
triadic
#767E1A #1A767E #7E1A76
tetradic
#767E1A #1A7E54 #221A7E #7E1A44
square
#767E1A #1A7E54 #221A7E #7E1A44
split-complementary
#767E1A #1A447E #541A7E
monochromatic
#181905 #464B10 #767E1A #A6B124 #CAD73C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##767E1A#FFFFFF#000000##000000
##767E1A1.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)
#887700
Deuteranopia (green-blind)
#877923
Tritanopia (blue-blind)
#7E766B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #767e1a;
/* rgb */ color: rgb(118, 126, 26);
/* oklch */ color: oklch(56.8% 0.118 114.3);
Tailwind
colors: {
  custom: {
    50: '#a1a360',
    500: '#767e1a',
    950: '#000000',
  },
}
SCSS
$custom: #767e1a;
$custom-light: #a1a360;
$custom-dark: #000000;
JSON
{
  "hex": "#767e1a",
  "rgb": {
    "r": 118,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 64.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56796,
    "c": 0.11817,
    "h": 114.3
  },
  "luminance": 0.18848
}

Semantic roles & 50–950 ramp

primary
#767E1A
secondary
#4B42B2
accent
#3FE94D
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #767E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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