#767727#767727

#767727 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.2% C 0.101 H 110.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#767727
RGBrgb(118, 119, 39)
HSLhsl(61, 51%, 31%)
HSVhsv(61, 67%, 47%)
CMYKcmyk(0.8%, 0%, 67.2%, 53.3%)
CIE-LABlab(48.50, -11.26, 42.18)
CIE-LCHlch(48.50, 43.66, 104.95°)
OKLaboklab(55.22% -0.0347 0.0953)
OKLCHoklch(55.22% 0.101 110)
XYZxyz(14.4347, 17.1921, 4.4771)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767727 #282777
analogous
#775027 #767727 #4E7727
triadic
#767727 #277677 #772776
tetradic
#767727 #277750 #282777 #77274E
square
#767727 #277750 #282777 #77274E
split-complementary
#767727 #274E77 #502777
monochromatic
#1B1B09 #484918 #767727 #A4A536 #C5C652

Accessibility & contrast

On white

4.73
#767727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#767727 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767727
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767727#FFFFFF#000000##FFFFFF
##7677271.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721C
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#7E7067
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #767727;
/* rgb */ color: rgb(118, 119, 39);
/* oklch */ color: oklch(55.2% 0.101 110.0);
Tailwind
colors: {
  custom: {
    50: '#a09e66',
    500: '#767727',
    950: '#000000',
  },
}
SCSS
$custom: #767727;
$custom-light: #a09e66;
$custom-dark: #000000;
JSON
{
  "hex": "#767727",
  "rgb": {
    "r": 118,
    "g": 119,
    "b": 39
  },
  "hsl": {
    "h": 60.75,
    "s": 50.633,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55217,
    "c": 0.10138,
    "h": 110
  },
  "luminance": 0.17192
}

Semantic roles & 50–950 ramp

primary
#767727
secondary
#5251A9
accent
#4EDA4F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #767727

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

Preview Lab → · Contrast checker → · Palette generator →

#767727 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva