#767F2A#767F2A

#767F2A is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.2% C 0.108 H 115.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#767F2A
RGBrgb(118, 127, 42)
HSLhsl(66, 50%, 33%)
HSVhsv(66, 67%, 50%)
CMYKcmyk(7.1%, 0%, 66.9%, 50.2%)
CIE-LABlab(50.92, -15.39, 43.37)
CIE-LCHlch(50.92, 46.02, 109.54°)
OKLaboklab(57.16% -0.0459 0.0983)
OKLCHoklch(57.16% 0.108 115)
XYZxyz(15.4789, 19.1977, 5.0802)
Luminance0.1920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767F2A #332A7F
analogous
#7F5D2A #767F2A #4B7F2A
triadic
#767F2A #2A767F #7F2A76
tetradic
#767F2A #2A7F5D #332A7F #7F2A4B
square
#767F2A #2A7F5D #332A7F #7F2A4B
split-complementary
#767F2A #2A4B7F #5D2A7F
monochromatic
#21230C #4B511B #767F2A #A1AD39 #BDC95B

Accessibility & contrast

On white

4.34
#767F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#767F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767F2A
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767F2A#FFFFFF#000000##000000
##767F2A1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88791F
Deuteranopia (green-blind)
#877A30
Tritanopia (blue-blind)
#7E786E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #767f2a;
/* rgb */ color: rgb(118, 127, 42);
/* oklch */ color: oklch(57.2% 0.108 115.0);
Tailwind
colors: {
  custom: {
    50: '#a0a468',
    500: '#767f2a',
    950: '#000000',
  },
}
SCSS
$custom: #767f2a;
$custom-light: #a0a468;
$custom-dark: #000000;
JSON
{
  "hex": "#767f2a",
  "rgb": {
    "r": 118,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 66.353,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57158,
    "c": 0.10848,
    "h": 115
  },
  "luminance": 0.19197
}

Semantic roles & 50–950 ramp

primary
#767F2A
secondary
#6057AE
accent
#4EDA5D
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #767F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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