#767F1A#767F1A

#767F1A is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.0% C 0.119 H 114.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#767F1A
RGBrgb(118, 127, 26)
HSLhsl(65, 66%, 30%)
HSVhsv(65, 80%, 50%)
CMYKcmyk(7.1%, 0%, 79.5%, 50.2%)
CIE-LABlab(50.81, -16.30, 49.48)
CIE-LCHlch(50.81, 52.09, 108.23°)
OKLaboklab(57.04% -0.05 0.1083)
OKLCHoklch(57.04% 0.119 114.8)
XYZxyz(15.2475, 19.1052, 3.8615)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767F1A #231A7F
analogous
#7F561A #767F1A #437F1A
triadic
#767F1A #1A767F #7F1A76
tetradic
#767F1A #1A7F56 #231A7F #7F1A43
square
#767F1A #1A7F56 #231A7F #7F1A43
split-complementary
#767F1A #1A437F #561A7F
monochromatic
#181905 #474C10 #767F1A #A5B224 #C9D73C

Accessibility & contrast

On white

4.36
#767F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#767F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767F1A
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767F1A#FFFFFF#000000##000000
##767F1A1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#7E776C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #767f1a;
/* rgb */ color: rgb(118, 127, 26);
/* oklch */ color: oklch(57.0% 0.119 114.8);
Tailwind
colors: {
  custom: {
    50: '#a1a460',
    500: '#767f1a',
    950: '#000000',
  },
}
SCSS
$custom: #767f1a;
$custom-light: #a1a460;
$custom-dark: #000000;
JSON
{
  "hex": "#767f1a",
  "rgb": {
    "r": 118,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 65.347,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.57037,
    "c": 0.11931,
    "h": 114.8
  },
  "luminance": 0.19105
}

Semantic roles & 50–950 ramp

primary
#767F1A
secondary
#4C42B3
accent
#3FE94E
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #767F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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