#767E1B#767E1B

#767E1B is a mid, moderate yellow. Relative luminance 0.189; 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#767E1B
RGBrgb(118, 126, 27)
HSLhsl(65, 65%, 30%)
HSVhsv(65, 79%, 49%)
CMYKcmyk(6.3%, 0%, 78.6%, 50.6%)
CIE-LABlab(50.51, -15.72, 48.87)
CIE-LCHlch(50.51, 51.34, 107.83°)
OKLaboklab(56.8% -0.0483 0.1072)
OKLCHoklch(56.8% 0.118 114.3)
XYZxyz(15.1304, 18.8527, 3.8786)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767E1B #231B7E
analogous
#7E541B #767E1B #457E1B
triadic
#767E1B #1B767E #7E1B76
tetradic
#767E1B #1B7E54 #231B7E #7E1B45
square
#767E1B #1B7E54 #231B7E #7E1B45
split-complementary
#767E1B #1B457E #541B7E
monochromatic
#181905 #474C10 #767E1B #A5B026 #C9D63E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##767E1B#FFFFFF#000000##000000
##767E1B1.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)
#887703
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#7E766B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #767e1b;
/* rgb */ color: rgb(118, 126, 27);
/* oklch */ color: oklch(56.8% 0.118 114.3);
Tailwind
colors: {
  custom: {
    50: '#a1a360',
    500: '#767e1b',
    950: '#000000',
  },
}
SCSS
$custom: #767e1b;
$custom-light: #a1a360;
$custom-dark: #000000;
JSON
{
  "hex": "#767e1b",
  "rgb": {
    "r": 118,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 64.848,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.56802,
    "c": 0.1176,
    "h": 114.3
  },
  "luminance": 0.18852
}

Semantic roles & 50–950 ramp

primary
#767E1B
secondary
#4C43B2
accent
#40E84E
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #767E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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