#767B20#767B20

#767B20 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.1% C 0.111 H 112.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#767B20
RGBrgb(118, 123, 32)
HSLhsl(63, 59%, 30%)
HSVhsv(63, 74%, 48%)
CMYKcmyk(4.1%, 0%, 74%, 51.8%)
CIE-LABlab(49.64, -13.86, 46.23)
CIE-LCHlch(49.64, 48.27, 106.69°)
OKLaboklab(56.11% -0.0427 0.1026)
OKLCHoklch(56.11% 0.111 112.6)
XYZxyz(14.8153, 18.1221, 4.0837)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767B20 #25207B
analogous
#7B5320 #767B20 #487B20
triadic
#767B20 #20767B #7B2076
tetradic
#767B20 #207B53 #25207B #7B2048
square
#767B20 #207B53 #25207B #7B2048
split-complementary
#767B20 #20487B #53207B
monochromatic
#191A07 #474A13 #767B20 #A5AC2D #C7CF46

Accessibility & contrast

On white

4.54
#767B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#767B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767B20
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767B20#FFFFFF#000000##000000
##767B201.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85750F
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#7E7369
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #767b20;
/* rgb */ color: rgb(118, 123, 32);
/* oklch */ color: oklch(56.1% 0.111 112.6);
Tailwind
colors: {
  custom: {
    50: '#a0a162',
    500: '#767b20',
    950: '#000000',
  },
}
SCSS
$custom: #767b20;
$custom-light: #a0a162;
$custom-dark: #000000;
JSON
{
  "hex": "#767b20",
  "rgb": {
    "r": 118,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 63.297,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56114,
    "c": 0.11111,
    "h": 112.6
  },
  "luminance": 0.18122
}

Semantic roles & 50–950 ramp

primary
#767B20
secondary
#4E49AE
accent
#46E24E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #767B20

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

Preview Lab → · Contrast checker → · Palette generator →

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