#767D27#767D27

#767D27 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.6% C 0.108 H 113.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#767D27
RGBrgb(118, 125, 39)
HSLhsl(65, 52%, 32%)
HSVhsv(65, 69%, 49%)
CMYKcmyk(5.6%, 0%, 68.8%, 51%)
CIE-LABlab(50.29, -14.52, 44.03)
CIE-LCHlch(50.29, 46.36, 108.25°)
OKLaboklab(56.65% -0.0438 0.0992)
OKLCHoklch(56.65% 0.108 113.8)
XYZxyz(15.1714, 18.6656, 4.7227)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767D27 #2E277D
analogous
#7D5927 #767D27 #4B7D27
triadic
#767D27 #27767D #7D2776
tetradic
#767D27 #277D59 #2E277D #7D274B
square
#767D27 #277D59 #2E277D #7D274B
split-complementary
#767D27 #274B7D #59277D
monochromatic
#1E200A #4A4E18 #767D27 #A2AC36 #C0CA55

Accessibility & contrast

On white

4.44
#767D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#767D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767D27
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767D27#FFFFFF#000000##000000
##767D271.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771B
Deuteranopia (green-blind)
#86792D
Tritanopia (blue-blind)
#7E766C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #767d27;
/* rgb */ color: rgb(118, 125, 39);
/* oklch */ color: oklch(56.6% 0.108 113.8);
Tailwind
colors: {
  custom: {
    50: '#a0a266',
    500: '#767d27',
    950: '#000000',
  },
}
SCSS
$custom: #767d27;
$custom-light: #a0a266;
$custom-dark: #000000;
JSON
{
  "hex": "#767d27",
  "rgb": {
    "r": 118,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 64.884,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5665,
    "c": 0.10842,
    "h": 113.8
  },
  "luminance": 0.18665
}

Semantic roles & 50–950 ramp

primary
#767D27
secondary
#5951AF
accent
#4CDC58
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #767D27

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

Preview Lab → · Contrast checker → · Palette generator →

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