#767F1D#767F1D

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

Color values

HEX#767F1D
RGBrgb(118, 127, 29)
HSLhsl(66, 63%, 31%)
HSVhsv(66, 77%, 50%)
CMYKcmyk(7.1%, 0%, 77.2%, 50.2%)
CIE-LABlab(50.83, -16.16, 48.47)
CIE-LCHlch(50.83, 51.09, 108.43°)
OKLaboklab(57.06% -0.0494 0.1067)
OKLCHoklch(57.06% 0.118 114.8)
XYZxyz(15.2828, 19.1193, 4.0475)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767F1D #261D7F
analogous
#7F571D #767F1D #457F1D
triadic
#767F1D #1D767F #7F1D76
tetradic
#767F1D #1D7F57 #261D7F #7F1D45
square
#767F1D #1D7F57 #261D7F #7F1D45
split-complementary
#767F1D #1D457F #571D7F
monochromatic
#191B06 #484D12 #767F1D #A4B128 #C7D442

Accessibility & contrast

On white

4.35
#767F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##767F1D#FFFFFF#000000##000000
##767F1D1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #767f1d;
/* rgb */ color: rgb(118, 127, 29);
/* oklch */ color: oklch(57.1% 0.118 114.8);
Tailwind
colors: {
  custom: {
    50: '#a1a461',
    500: '#767f1d',
    950: '#000000',
  },
}
SCSS
$custom: #767f1d;
$custom-light: #a1a461;
$custom-dark: #000000;
JSON
{
  "hex": "#767f1d",
  "rgb": {
    "r": 118,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 65.51,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57056,
    "c": 0.1176,
    "h": 114.8
  },
  "luminance": 0.19119
}

Semantic roles & 50–950 ramp

primary
#767F1D
secondary
#4F45B2
accent
#42E651
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #767F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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