#767A20#767A20

#767A20 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 55.9% C 0.110 H 112.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#767A20
RGBrgb(118, 122, 32)
HSLhsl(63, 58%, 30%)
HSVhsv(63, 74%, 48%)
CMYKcmyk(3.3%, 0%, 73.8%, 52.2%)
CIE-LABlab(49.34, -13.32, 45.94)
CIE-LCHlch(49.34, 47.83, 106.17°)
OKLaboklab(55.87% -0.0412 0.102)
OKLCHoklch(55.87% 0.11 112)
XYZxyz(14.6919, 17.8753, 4.0426)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767A20 #24207A
analogous
#7A5120 #767A20 #497A20
triadic
#767A20 #20767A #7A2076
tetradic
#767A20 #207A51 #24207A #7A2049
square
#767A20 #207A51 #24207A #7A2049
split-complementary
#767A20 #20497A #51207A
monochromatic
#181907 #474A13 #767A20 #A5AA2D #C8CE46

Accessibility & contrast

On white

4.59
#767A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#767A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #767A20
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767A20#FFFFFF#000000##FFFFFF
##767A201.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847410
Deuteranopia (green-blind)
#847627
Tritanopia (blue-blind)
#7E7268
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #767a20;
/* rgb */ color: rgb(118, 122, 32);
/* oklch */ color: oklch(55.9% 0.110 112.0);
Tailwind
colors: {
  custom: {
    50: '#a0a062',
    500: '#767a20',
    950: '#000000',
  },
}
SCSS
$custom: #767a20;
$custom-light: #a0a062;
$custom-dark: #000000;
JSON
{
  "hex": "#767a20",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 62.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55874,
    "c": 0.10997,
    "h": 112
  },
  "luminance": 0.17875
}

Semantic roles & 50–950 ramp

primary
#767A20
secondary
#4D49AD
accent
#46E24D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #767A20

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

Preview Lab → · Contrast checker → · Palette generator →

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