#767F20#767F20

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

Color values

HEX#767F20
RGBrgb(118, 127, 32)
HSLhsl(66, 60%, 31%)
HSVhsv(66, 75%, 50%)
CMYKcmyk(7.1%, 0%, 74.8%, 50.2%)
CIE-LABlab(50.84, -16.00, 47.39)
CIE-LCHlch(50.84, 50.02, 108.66°)
OKLaboklab(57.08% -0.0487 0.105)
OKLCHoklch(57.08% 0.116 114.9)
XYZxyz(15.3217, 19.1349, 4.2525)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767F20 #29207F
analogous
#7F5820 #767F20 #467F20
triadic
#767F20 #20767F #7F2076
tetradic
#767F20 #207F58 #29207F #7F2046
square
#767F20 #207F58 #29207F #7F2046
split-complementary
#767F20 #20467F #58207F
monochromatic
#1B1D07 #494E14 #767F20 #A3B02C #C4D148

Accessibility & contrast

On white

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

On black

4.83
#767F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767F20
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767F20#FFFFFF#000000##000000
##767F201.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780E
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#7E776D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #767f20;
/* rgb */ color: rgb(118, 127, 32);
/* oklch */ color: oklch(57.1% 0.116 114.9);
Tailwind
colors: {
  custom: {
    50: '#a0a463',
    500: '#767f20',
    950: '#000000',
  },
}
SCSS
$custom: #767f20;
$custom-light: #a0a463;
$custom-dark: #000000;
JSON
{
  "hex": "#767f20",
  "rgb": {
    "r": 118,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 65.684,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57076,
    "c": 0.11575,
    "h": 114.9
  },
  "luminance": 0.19135
}

Semantic roles & 50–950 ramp

primary
#767F20
secondary
#5349B2
accent
#45E354
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #767F20

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

Preview Lab → · Contrast checker → · Palette generator →

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