#767E1C#767E1C

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

Color values

HEX#767E1C
RGBrgb(118, 126, 28)
HSLhsl(65, 64%, 30%)
HSVhsv(65, 78%, 49%)
CMYKcmyk(6.3%, 0%, 77.8%, 50.6%)
CIE-LABlab(50.52, -15.67, 48.53)
CIE-LCHlch(50.52, 51.00, 107.90°)
OKLaboklab(56.81% -0.0481 0.1067)
OKLCHoklch(56.81% 0.117 114.3)
XYZxyz(15.1421, 18.8574, 3.9406)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767E1C #241C7E
analogous
#7E551C #767E1C #457E1C
triadic
#767E1C #1C767E #7E1C76
tetradic
#767E1C #1C7E55 #241C7E #7E1C45
square
#767E1C #1C7E55 #241C7E #7E1C45
split-complementary
#767E1C #1C457E #551C7E
monochromatic
#181A06 #474C11 #767E1C #A5B027 #C8D540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##767E1C#FFFFFF#000000##000000
##767E1C1.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)
#887705
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#7E766C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #767e1c;
/* rgb */ color: rgb(118, 126, 28);
/* oklch */ color: oklch(56.8% 0.117 114.3);
Tailwind
colors: {
  custom: {
    50: '#a1a361',
    500: '#767e1c',
    950: '#000000',
  },
}
SCSS
$custom: #767e1c;
$custom-light: #a1a361;
$custom-dark: #000000;
JSON
{
  "hex": "#767e1c",
  "rgb": {
    "r": 118,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 64.898,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56808,
    "c": 0.11703,
    "h": 114.3
  },
  "luminance": 0.18857
}

Semantic roles & 50–950 ramp

primary
#767E1C
secondary
#4D44B2
accent
#41E74F
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #767E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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