#767D1B#767D1B

#767D1B is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.6% C 0.116 H 113.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#767D1B
RGBrgb(118, 125, 27)
HSLhsl(64, 64%, 30%)
HSVhsv(64, 78%, 49%)
CMYKcmyk(5.6%, 0%, 78.4%, 51%)
CIE-LABlab(50.21, -15.18, 48.60)
CIE-LCHlch(50.21, 50.91, 107.35°)
OKLaboklab(56.56% -0.0469 0.1066)
OKLCHoklch(56.56% 0.116 113.7)
XYZxyz(15.0031, 18.5982, 3.8362)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767D1B #221B7D
analogous
#7D531B #767D1B #457D1B
triadic
#767D1B #1B767D #7D1B76
tetradic
#767D1B #1B7D53 #221B7D #7D1B45
square
#767D1B #1B7D53 #221B7D #7D1B45
split-complementary
#767D1B #1B457D #531B7D
monochromatic
#181905 #464B10 #767D1B #A6AF26 #CAD53D

Accessibility & contrast

On white

4.45
#767D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#767D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767D1B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767D1B#FFFFFF#000000##000000
##767D1B1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877703
Deuteranopia (green-blind)
#877824
Tritanopia (blue-blind)
#7E756B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #767d1b;
/* rgb */ color: rgb(118, 125, 27);
/* oklch */ color: oklch(56.6% 0.116 113.7);
Tailwind
colors: {
  custom: {
    50: '#a1a260',
    500: '#767d1b',
    950: '#000000',
  },
}
SCSS
$custom: #767d1b;
$custom-light: #a1a260;
$custom-dark: #000000;
JSON
{
  "hex": "#767d1b",
  "rgb": {
    "r": 118,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 64.286,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56561,
    "c": 0.11646,
    "h": 113.7
  },
  "luminance": 0.18598
}

Semantic roles & 50–950 ramp

primary
#767D1B
secondary
#4B43B1
accent
#40E74C
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #767D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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