#767C1B#767C1B

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

Color values

HEX#767C1B
RGBrgb(118, 124, 27)
HSLhsl(64, 64%, 30%)
HSVhsv(64, 78%, 49%)
CMYKcmyk(4.8%, 0%, 78.2%, 51.4%)
CIE-LABlab(49.91, -14.65, 48.32)
CIE-LCHlch(49.91, 50.49, 106.86°)
OKLaboklab(56.32% -0.0454 0.106)
OKLCHoklch(56.32% 0.115 113.2)
XYZxyz(14.8772, 18.3463, 3.7942)
Luminance0.1835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767C1B #211B7C
analogous
#7C511B #767C1B #467C1B
triadic
#767C1B #1B767C #7C1B76
tetradic
#767C1B #1B7C51 #211B7C #7C1B46
square
#767C1B #1B7C51 #211B7C #7C1B46
split-complementary
#767C1B #1B467C #511B7C
monochromatic
#181905 #464A10 #767C1B #A6AE26 #CBD53D

Accessibility & contrast

On white

4.50
#767C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##767C1B#FFFFFF#000000##000000
##767C1B1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867604
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#7E746A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #767c1b;
/* rgb */ color: rgb(118, 124, 27);
/* oklch */ color: oklch(56.3% 0.115 113.2);
Tailwind
colors: {
  custom: {
    50: '#a1a160',
    500: '#767c1b',
    950: '#000000',
  },
}
SCSS
$custom: #767c1b;
$custom-light: #a1a160;
$custom-dark: #000000;
JSON
{
  "hex": "#767c1b",
  "rgb": {
    "r": 118,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 63.711,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5632,
    "c": 0.11533,
    "h": 113.2
  },
  "luminance": 0.18346
}

Semantic roles & 50–950 ramp

primary
#767C1B
secondary
#4A43B0
accent
#41E74B
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #767C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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