#767F1B#767F1B

#767F1B 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#767F1B
RGBrgb(118, 127, 27)
HSLhsl(65, 65%, 30%)
HSVhsv(65, 79%, 50%)
CMYKcmyk(7.1%, 0%, 78.7%, 50.2%)
CIE-LABlab(50.82, -16.25, 49.15)
CIE-LCHlch(50.82, 51.77, 108.29°)
OKLaboklab(57.04% -0.0498 0.1078)
OKLCHoklch(57.04% 0.119 114.8)
XYZxyz(15.2589, 19.1097, 3.9214)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767F1B #241B7F
analogous
#7F561B #767F1B #447F1B
triadic
#767F1B #1B767F #7F1B76
tetradic
#767F1B #1B7F56 #241B7F #7F1B44
square
#767F1B #1B7F56 #241B7F #7F1B44
split-complementary
#767F1B #1B447F #561B7F
monochromatic
#181A06 #474D10 #767F1B #A5B126 #C8D63E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##767F1B#FFFFFF#000000##000000
##767F1B1.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)
#897802
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#7E776C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #767f1b;
/* rgb */ color: rgb(118, 127, 27);
/* oklch */ color: oklch(57.0% 0.119 114.8);
Tailwind
colors: {
  custom: {
    50: '#a1a460',
    500: '#767f1b',
    950: '#000000',
  },
}
SCSS
$custom: #767f1b;
$custom-light: #a1a460;
$custom-dark: #000000;
JSON
{
  "hex": "#767f1b",
  "rgb": {
    "r": 118,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 65.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57043,
    "c": 0.11876,
    "h": 114.8
  },
  "luminance": 0.19109
}

Semantic roles & 50–950 ramp

primary
#767F1B
secondary
#4D43B3
accent
#40E84F
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #767F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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