#768221#768221

#768221 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.99:1 contrast (WCAG AA passes).

Color values

HEX#768221
RGBrgb(118, 130, 33)
HSLhsl(67, 60%, 32%)
HSVhsv(67, 75%, 51%)
CMYKcmyk(9.2%, 0%, 74.6%, 49%)
CIE-LABlab(51.75, -17.54, 47.89)
CIE-LCHlch(51.75, 51.00, 110.11°)
OKLaboklab(57.81% -0.0528 0.1063)
OKLCHoklch(57.81% 0.119 116.4)
XYZxyz(15.7288, 19.9268, 4.4562)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768221 #2D2182
analogous
#825E21 #768221 #458221
triadic
#768221 #217682 #822176
tetradic
#768221 #21825E #2D2182 #822145
square
#768221 #21825E #2D2182 #822145
split-complementary
#768221 #214582 #5E2182
monochromatic
#1D2008 #4A5115 #768221 #A2B32D #C1D24C

Accessibility & contrast

On white

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

On black

4.99
#768221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768221
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768221#FFFFFF#000000##000000
##7682211.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #768221;
/* rgb */ color: rgb(118, 130, 33);
/* oklch */ color: oklch(57.8% 0.119 116.4);
Tailwind
colors: {
  custom: {
    50: '#a0a664',
    500: '#768221',
    950: '#000000',
  },
}
SCSS
$custom: #768221;
$custom-light: #a0a664;
$custom-dark: #000000;
JSON
{
  "hex": "#768221",
  "rgb": {
    "r": 118,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 67.423,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57808,
    "c": 0.11867,
    "h": 116.4
  },
  "luminance": 0.19927
}

Semantic roles & 50–950 ramp

primary
#768221
secondary
#574AB4
accent
#45E359
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768221

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

Preview Lab → · Contrast checker → · Palette generator →

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