#768222#768222

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

Color values

HEX#768222
RGBrgb(118, 130, 34)
HSLhsl(68, 59%, 32%)
HSVhsv(68, 74%, 51%)
CMYKcmyk(9.2%, 0%, 73.8%, 49%)
CIE-LABlab(51.76, -17.48, 47.52)
CIE-LCHlch(51.76, 50.64, 110.20°)
OKLaboklab(57.82% -0.0526 0.1057)
OKLCHoklch(57.82% 0.118 116.5)
XYZxyz(15.7430, 19.9325, 4.5311)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768222 #2E2282
analogous
#825E22 #768222 #468222
triadic
#768222 #227682 #822276
tetradic
#768222 #22825E #2E2282 #822246
square
#768222 #22825E #2E2282 #822246
split-complementary
#768222 #224682 #5E2282
monochromatic
#1E2109 #4A5115 #768222 #A2B32F #C0D14E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768222#FFFFFF#000000##000000
##7682221.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)
#8B7B10
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#7E7A6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #768222;
/* rgb */ color: rgb(118, 130, 34);
/* oklch */ color: oklch(57.8% 0.118 116.5);
Tailwind
colors: {
  custom: {
    50: '#a0a664',
    500: '#768222',
    950: '#000000',
  },
}
SCSS
$custom: #768222;
$custom-light: #a0a664;
$custom-dark: #000000;
JSON
{
  "hex": "#768222",
  "rgb": {
    "r": 118,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 67.5,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57815,
    "c": 0.11801,
    "h": 116.5
  },
  "luminance": 0.19932
}

Semantic roles & 50–950 ramp

primary
#768222
secondary
#594CB4
accent
#46E25A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768222

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

Preview Lab → · Contrast checker → · Palette generator →

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