#768220#768220

#768220 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 57.8% C 0.119 H 116.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#768220
RGBrgb(118, 130, 32)
HSLhsl(67, 60%, 32%)
HSVhsv(67, 75%, 51%)
CMYKcmyk(9.2%, 0%, 75.4%, 49%)
CIE-LABlab(51.75, -17.59, 48.26)
CIE-LCHlch(51.75, 51.37, 110.03°)
OKLaboklab(57.8% -0.0531 0.1069)
OKLCHoklch(57.8% 0.119 116.4)
XYZxyz(15.7150, 19.9213, 4.3836)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768220 #2C2082
analogous
#825D20 #768220 #458220
triadic
#768220 #207682 #822076
tetradic
#768220 #20825D #2C2082 #822045
square
#768220 #20825D #2C2082 #822045
split-complementary
#768220 #204582 #5D2082
monochromatic
#1D2008 #495114 #768220 #A3B32C #C2D24A

Accessibility & contrast

On white

4.21
#768220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#768220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768220
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768220#FFFFFF#000000##000000
##7682201.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0C
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#7E7A6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #768220;
/* rgb */ color: rgb(118, 130, 32);
/* oklch */ color: oklch(57.8% 0.119 116.4);
Tailwind
colors: {
  custom: {
    50: '#a0a663',
    500: '#768220',
    950: '#000000',
  },
}
SCSS
$custom: #768220;
$custom-light: #a0a663;
$custom-dark: #000000;
JSON
{
  "hex": "#768220",
  "rgb": {
    "r": 118,
    "g": 130,
    "b": 32
  },
  "hsl": {
    "h": 67.347,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57801,
    "c": 0.1193,
    "h": 116.4
  },
  "luminance": 0.19921
}

Semantic roles & 50–950 ramp

primary
#768220
secondary
#5649B5
accent
#44E458
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768220

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

Preview Lab → · Contrast checker → · Palette generator →

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