#767C1F#767C1F

#767C1F is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.3% C 0.113 H 113.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#767C1F
RGBrgb(118, 124, 31)
HSLhsl(64, 60%, 30%)
HSVhsv(64, 75%, 49%)
CMYKcmyk(4.8%, 0%, 75%, 51.4%)
CIE-LABlab(49.94, -14.45, 46.90)
CIE-LCHlch(49.94, 49.07, 107.13°)
OKLaboklab(56.35% -0.0445 0.1038)
OKLCHoklch(56.35% 0.113 113.2)
XYZxyz(14.9266, 18.3661, 4.0548)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767C1F #251F7C
analogous
#7C531F #767C1F #477C1F
triadic
#767C1F #1F767C #7C1F76
tetradic
#767C1F #1F7C53 #251F7C #7C1F47
square
#767C1F #1F7C53 #251F7C #7C1F47
split-complementary
#767C1F #1F477C #531F7C
monochromatic
#191A07 #474B13 #767C1F #A5AD2B #C7D045

Accessibility & contrast

On white

4.49
#767C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#767C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767C1F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767C1F#FFFFFF#000000##000000
##767C1F1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86760D
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#7E746A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #767c1f;
/* rgb */ color: rgb(118, 124, 31);
/* oklch */ color: oklch(56.3% 0.113 113.2);
Tailwind
colors: {
  custom: {
    50: '#a0a162',
    500: '#767c1f',
    950: '#000000',
  },
}
SCSS
$custom: #767c1f;
$custom-light: #a0a162;
$custom-dark: #000000;
JSON
{
  "hex": "#767c1f",
  "rgb": {
    "r": 118,
    "g": 124,
    "b": 31
  },
  "hsl": {
    "h": 63.871,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56347,
    "c": 0.11291,
    "h": 113.2
  },
  "luminance": 0.18366
}

Semantic roles & 50–950 ramp

primary
#767C1F
secondary
#4E48AF
accent
#45E34F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F05
muted
#7F7E7A

Preview Lab

Preview with #767C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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