#767A2D#767A2D

#767A2D is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.0% C 0.100 H 112.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#767A2D
RGBrgb(118, 122, 45)
HSLhsl(63, 46%, 33%)
HSVhsv(63, 63%, 48%)
CMYKcmyk(3.3%, 0%, 63.1%, 52.2%)
CIE-LABlab(49.45, -12.48, 40.45)
CIE-LCHlch(49.45, 42.33, 107.14°)
OKLaboklab(55.99% -0.0374 0.0926)
OKLCHoklch(55.99% 0.1 112)
XYZxyz(14.9048, 17.9604, 5.1637)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767A2D #312D7A
analogous
#7A572D #767A2D #4F7A2D
triadic
#767A2D #2D767A #7A2D76
tetradic
#767A2D #2D7A57 #312D7A #7A2D4F
square
#767A2D #2D7A57 #312D7A #7A2D4F
split-complementary
#767A2D #2D4F7A #572D7A
monochromatic
#20210C #4B4D1D #767A2D #A1A73D #BEC45E

Accessibility & contrast

On white

4.57
#767A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#767A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767A2D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767A2D#FFFFFF#000000##000000
##767A2D1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837524
Deuteranopia (green-blind)
#837732
Tritanopia (blue-blind)
#7E736A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #767a2d;
/* rgb */ color: rgb(118, 122, 45);
/* oklch */ color: oklch(56.0% 0.100 112.0);
Tailwind
colors: {
  custom: {
    50: '#a0a06a',
    500: '#767a2d',
    950: '#000000',
  },
}
SCSS
$custom: #767a2d;
$custom-light: #a0a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#767a2d",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 63.117,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5599,
    "c": 0.09983,
    "h": 112
  },
  "luminance": 0.1796
}

Semantic roles & 50–950 ramp

primary
#767A2D
secondary
#5D59AA
accent
#52D659
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #767A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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