#767A1B#767A1B

#767A1B is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.8% C 0.113 H 112.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#767A1B
RGBrgb(118, 122, 27)
HSLhsl(63, 64%, 29%)
HSVhsv(63, 78%, 48%)
CMYKcmyk(3.3%, 0%, 77.9%, 52.2%)
CIE-LABlab(49.31, -13.57, 47.76)
CIE-LCHlch(49.31, 49.65, 105.86°)
OKLaboklab(55.84% -0.0424 0.1049)
OKLCHoklch(55.84% 0.113 112)
XYZxyz(14.6291, 17.8501, 3.7115)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767A1B #1F1B7A
analogous
#7A4F1B #767A1B #477A1B
triadic
#767A1B #1B767A #7A1B76
tetradic
#767A1B #1B7A4F #1F1B7A #7A1B47
square
#767A1B #1B7A4F #1F1B7A #7A1B47
split-complementary
#767A1B #1B477A #4F1B7A
monochromatic
#181906 #464810 #767A1B #A6AC26 #CDD43C

Accessibility & contrast

On white

4.60
#767A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#767A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #767A1B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767A1B#FFFFFF#000000##FFFFFF
##767A1B1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847405
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#7F7268
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #767a1b;
/* rgb */ color: rgb(118, 122, 27);
/* oklch */ color: oklch(55.8% 0.113 112.0);
Tailwind
colors: {
  custom: {
    50: '#a1a060',
    500: '#767a1b',
    950: '#000000',
  },
}
SCSS
$custom: #767a1b;
$custom-light: #a1a060;
$custom-dark: #000000;
JSON
{
  "hex": "#767a1b",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 62.526,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5584,
    "c": 0.11309,
    "h": 112
  },
  "luminance": 0.1785
}

Semantic roles & 50–950 ramp

primary
#767A1B
secondary
#4743AE
accent
#41E748
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #767A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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